{-# LANGUAGE TypeApplications #-}


-- | Copyright  : Will Thompson and Iñaki García Etxebarria
-- License    : LGPL-2.1
-- Maintainer : Iñaki García Etxebarria
-- 
-- Teaming Settings

#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif

module GI.NM.Objects.SettingTeam
    ( 

-- * Exported types
    SettingTeam(..)                         ,
    IsSettingTeam                           ,
    toSettingTeam                           ,


 -- * Methods
-- | 
-- 
--  === __Click to display all available methods, including inherited ones__
-- ==== Methods
-- [addLinkWatcher]("GI.NM.Objects.SettingTeam#g:method:addLinkWatcher"), [addRunnerTxHash]("GI.NM.Objects.SettingTeam#g:method:addRunnerTxHash"), [bindProperty]("GI.GObject.Objects.Object#g:method:bindProperty"), [bindPropertyFull]("GI.GObject.Objects.Object#g:method:bindPropertyFull"), [clearLinkWatchers]("GI.NM.Objects.SettingTeam#g:method:clearLinkWatchers"), [compare]("GI.NM.Objects.Setting#g:method:compare"), [diff]("GI.NM.Objects.Setting#g:method:diff"), [duplicate]("GI.NM.Objects.Setting#g:method:duplicate"), [enumerateValues]("GI.NM.Objects.Setting#g:method:enumerateValues"), [forceFloating]("GI.GObject.Objects.Object#g:method:forceFloating"), [freezeNotify]("GI.GObject.Objects.Object#g:method:freezeNotify"), [getv]("GI.GObject.Objects.Object#g:method:getv"), [isFloating]("GI.GObject.Objects.Object#g:method:isFloating"), [notify]("GI.GObject.Objects.Object#g:method:notify"), [notifyByPspec]("GI.GObject.Objects.Object#g:method:notifyByPspec"), [optionClearByName]("GI.NM.Objects.Setting#g:method:optionClearByName"), [optionGet]("GI.NM.Objects.Setting#g:method:optionGet"), [optionGetAllNames]("GI.NM.Objects.Setting#g:method:optionGetAllNames"), [optionGetBoolean]("GI.NM.Objects.Setting#g:method:optionGetBoolean"), [optionGetUint32]("GI.NM.Objects.Setting#g:method:optionGetUint32"), [optionSet]("GI.NM.Objects.Setting#g:method:optionSet"), [optionSetBoolean]("GI.NM.Objects.Setting#g:method:optionSetBoolean"), [optionSetUint32]("GI.NM.Objects.Setting#g:method:optionSetUint32"), [ref]("GI.GObject.Objects.Object#g:method:ref"), [refSink]("GI.GObject.Objects.Object#g:method:refSink"), [removeLinkWatcher]("GI.NM.Objects.SettingTeam#g:method:removeLinkWatcher"), [removeLinkWatcherByValue]("GI.NM.Objects.SettingTeam#g:method:removeLinkWatcherByValue"), [removeRunnerTxHash]("GI.NM.Objects.SettingTeam#g:method:removeRunnerTxHash"), [removeRunnerTxHashByValue]("GI.NM.Objects.SettingTeam#g:method:removeRunnerTxHashByValue"), [runDispose]("GI.GObject.Objects.Object#g:method:runDispose"), [stealData]("GI.GObject.Objects.Object#g:method:stealData"), [stealQdata]("GI.GObject.Objects.Object#g:method:stealQdata"), [thawNotify]("GI.GObject.Objects.Object#g:method:thawNotify"), [toString]("GI.NM.Objects.Setting#g:method:toString"), [unref]("GI.GObject.Objects.Object#g:method:unref"), [verify]("GI.NM.Objects.Setting#g:method:verify"), [verifySecrets]("GI.NM.Objects.Setting#g:method:verifySecrets"), [watchClosure]("GI.GObject.Objects.Object#g:method:watchClosure").
-- 
-- ==== Getters
-- [getConfig]("GI.NM.Objects.SettingTeam#g:method:getConfig"), [getData]("GI.GObject.Objects.Object#g:method:getData"), [getDbusPropertyType]("GI.NM.Objects.Setting#g:method:getDbusPropertyType"), [getLinkWatcher]("GI.NM.Objects.SettingTeam#g:method:getLinkWatcher"), [getMcastRejoinCount]("GI.NM.Objects.SettingTeam#g:method:getMcastRejoinCount"), [getMcastRejoinInterval]("GI.NM.Objects.SettingTeam#g:method:getMcastRejoinInterval"), [getName]("GI.NM.Objects.Setting#g:method:getName"), [getNotifyPeersCount]("GI.NM.Objects.SettingTeam#g:method:getNotifyPeersCount"), [getNotifyPeersInterval]("GI.NM.Objects.SettingTeam#g:method:getNotifyPeersInterval"), [getNumLinkWatchers]("GI.NM.Objects.SettingTeam#g:method:getNumLinkWatchers"), [getNumRunnerTxHash]("GI.NM.Objects.SettingTeam#g:method:getNumRunnerTxHash"), [getProperty]("GI.GObject.Objects.Object#g:method:getProperty"), [getQdata]("GI.GObject.Objects.Object#g:method:getQdata"), [getRunner]("GI.NM.Objects.SettingTeam#g:method:getRunner"), [getRunnerActive]("GI.NM.Objects.SettingTeam#g:method:getRunnerActive"), [getRunnerAggSelectPolicy]("GI.NM.Objects.SettingTeam#g:method:getRunnerAggSelectPolicy"), [getRunnerFastRate]("GI.NM.Objects.SettingTeam#g:method:getRunnerFastRate"), [getRunnerHwaddrPolicy]("GI.NM.Objects.SettingTeam#g:method:getRunnerHwaddrPolicy"), [getRunnerMinPorts]("GI.NM.Objects.SettingTeam#g:method:getRunnerMinPorts"), [getRunnerSysPrio]("GI.NM.Objects.SettingTeam#g:method:getRunnerSysPrio"), [getRunnerTxBalancer]("GI.NM.Objects.SettingTeam#g:method:getRunnerTxBalancer"), [getRunnerTxBalancerInterval]("GI.NM.Objects.SettingTeam#g:method:getRunnerTxBalancerInterval"), [getRunnerTxHash]("GI.NM.Objects.SettingTeam#g:method:getRunnerTxHash"), [getSecretFlags]("GI.NM.Objects.Setting#g:method:getSecretFlags").
-- 
-- ==== Setters
-- [setData]("GI.GObject.Objects.Object#g:method:setData"), [setDataFull]("GI.GObject.Objects.Object#g:method:setDataFull"), [setProperty]("GI.GObject.Objects.Object#g:method:setProperty"), [setSecretFlags]("GI.NM.Objects.Setting#g:method:setSecretFlags").

#if defined(ENABLE_OVERLOADING)
    ResolveSettingTeamMethod                ,
#endif

-- ** addLinkWatcher #method:addLinkWatcher#

#if defined(ENABLE_OVERLOADING)
    SettingTeamAddLinkWatcherMethodInfo     ,
#endif
    settingTeamAddLinkWatcher               ,


-- ** addRunnerTxHash #method:addRunnerTxHash#

#if defined(ENABLE_OVERLOADING)
    SettingTeamAddRunnerTxHashMethodInfo    ,
#endif
    settingTeamAddRunnerTxHash              ,


-- ** clearLinkWatchers #method:clearLinkWatchers#

#if defined(ENABLE_OVERLOADING)
    SettingTeamClearLinkWatchersMethodInfo  ,
#endif
    settingTeamClearLinkWatchers            ,


-- ** getConfig #method:getConfig#

#if defined(ENABLE_OVERLOADING)
    SettingTeamGetConfigMethodInfo          ,
#endif
    settingTeamGetConfig                    ,


-- ** getLinkWatcher #method:getLinkWatcher#

#if defined(ENABLE_OVERLOADING)
    SettingTeamGetLinkWatcherMethodInfo     ,
#endif
    settingTeamGetLinkWatcher               ,


-- ** getMcastRejoinCount #method:getMcastRejoinCount#

#if defined(ENABLE_OVERLOADING)
    SettingTeamGetMcastRejoinCountMethodInfo,
#endif
    settingTeamGetMcastRejoinCount          ,


-- ** getMcastRejoinInterval #method:getMcastRejoinInterval#

#if defined(ENABLE_OVERLOADING)
    SettingTeamGetMcastRejoinIntervalMethodInfo,
#endif
    settingTeamGetMcastRejoinInterval       ,


-- ** getNotifyPeersCount #method:getNotifyPeersCount#

#if defined(ENABLE_OVERLOADING)
    SettingTeamGetNotifyPeersCountMethodInfo,
#endif
    settingTeamGetNotifyPeersCount          ,


-- ** getNotifyPeersInterval #method:getNotifyPeersInterval#

#if defined(ENABLE_OVERLOADING)
    SettingTeamGetNotifyPeersIntervalMethodInfo,
#endif
    settingTeamGetNotifyPeersInterval       ,


-- ** getNumLinkWatchers #method:getNumLinkWatchers#

#if defined(ENABLE_OVERLOADING)
    SettingTeamGetNumLinkWatchersMethodInfo ,
#endif
    settingTeamGetNumLinkWatchers           ,


-- ** getNumRunnerTxHash #method:getNumRunnerTxHash#

#if defined(ENABLE_OVERLOADING)
    SettingTeamGetNumRunnerTxHashMethodInfo ,
#endif
    settingTeamGetNumRunnerTxHash           ,


-- ** getRunner #method:getRunner#

#if defined(ENABLE_OVERLOADING)
    SettingTeamGetRunnerMethodInfo          ,
#endif
    settingTeamGetRunner                    ,


-- ** getRunnerActive #method:getRunnerActive#

#if defined(ENABLE_OVERLOADING)
    SettingTeamGetRunnerActiveMethodInfo    ,
#endif
    settingTeamGetRunnerActive              ,


-- ** getRunnerAggSelectPolicy #method:getRunnerAggSelectPolicy#

#if defined(ENABLE_OVERLOADING)
    SettingTeamGetRunnerAggSelectPolicyMethodInfo,
#endif
    settingTeamGetRunnerAggSelectPolicy     ,


-- ** getRunnerFastRate #method:getRunnerFastRate#

#if defined(ENABLE_OVERLOADING)
    SettingTeamGetRunnerFastRateMethodInfo  ,
#endif
    settingTeamGetRunnerFastRate            ,


-- ** getRunnerHwaddrPolicy #method:getRunnerHwaddrPolicy#

#if defined(ENABLE_OVERLOADING)
    SettingTeamGetRunnerHwaddrPolicyMethodInfo,
#endif
    settingTeamGetRunnerHwaddrPolicy        ,


-- ** getRunnerMinPorts #method:getRunnerMinPorts#

#if defined(ENABLE_OVERLOADING)
    SettingTeamGetRunnerMinPortsMethodInfo  ,
#endif
    settingTeamGetRunnerMinPorts            ,


-- ** getRunnerSysPrio #method:getRunnerSysPrio#

#if defined(ENABLE_OVERLOADING)
    SettingTeamGetRunnerSysPrioMethodInfo   ,
#endif
    settingTeamGetRunnerSysPrio             ,


-- ** getRunnerTxBalancer #method:getRunnerTxBalancer#

#if defined(ENABLE_OVERLOADING)
    SettingTeamGetRunnerTxBalancerMethodInfo,
#endif
    settingTeamGetRunnerTxBalancer          ,


-- ** getRunnerTxBalancerInterval #method:getRunnerTxBalancerInterval#

#if defined(ENABLE_OVERLOADING)
    SettingTeamGetRunnerTxBalancerIntervalMethodInfo,
#endif
    settingTeamGetRunnerTxBalancerInterval  ,


-- ** getRunnerTxHash #method:getRunnerTxHash#

#if defined(ENABLE_OVERLOADING)
    SettingTeamGetRunnerTxHashMethodInfo    ,
#endif
    settingTeamGetRunnerTxHash              ,


-- ** new #method:new#

    settingTeamNew                          ,


-- ** removeLinkWatcher #method:removeLinkWatcher#

#if defined(ENABLE_OVERLOADING)
    SettingTeamRemoveLinkWatcherMethodInfo  ,
#endif
    settingTeamRemoveLinkWatcher            ,


-- ** removeLinkWatcherByValue #method:removeLinkWatcherByValue#

#if defined(ENABLE_OVERLOADING)
    SettingTeamRemoveLinkWatcherByValueMethodInfo,
#endif
    settingTeamRemoveLinkWatcherByValue     ,


-- ** removeRunnerTxHash #method:removeRunnerTxHash#

#if defined(ENABLE_OVERLOADING)
    SettingTeamRemoveRunnerTxHashMethodInfo ,
#endif
    settingTeamRemoveRunnerTxHash           ,


-- ** removeRunnerTxHashByValue #method:removeRunnerTxHashByValue#

#if defined(ENABLE_OVERLOADING)
    SettingTeamRemoveRunnerTxHashByValueMethodInfo,
#endif
    settingTeamRemoveRunnerTxHashByValue    ,




 -- * Properties


-- ** config #attr:config#
-- | The JSON configuration for the team network interface.  The property
-- should contain raw JSON configuration data suitable for teamd, because
-- the value is passed directly to teamd. If not specified, the default
-- configuration is used.  See man teamd.conf for the format details.

#if defined(ENABLE_OVERLOADING)
    SettingTeamConfigPropertyInfo           ,
#endif
    clearSettingTeamConfig                  ,
    constructSettingTeamConfig              ,
    getSettingTeamConfig                    ,
    setSettingTeamConfig                    ,
#if defined(ENABLE_OVERLOADING)
    settingTeamConfig                       ,
#endif


-- ** linkWatchers #attr:linkWatchers#

#if defined(ENABLE_OVERLOADING)
    SettingTeamLinkWatchersPropertyInfo     ,
#endif
#if defined(ENABLE_OVERLOADING)
    settingTeamLinkWatchers                 ,
#endif


-- ** mcastRejoinCount #attr:mcastRejoinCount#
-- | Corresponds to the teamd mcast_rejoin.count.
-- 
-- /Since: 1.12/

#if defined(ENABLE_OVERLOADING)
    SettingTeamMcastRejoinCountPropertyInfo ,
#endif
    constructSettingTeamMcastRejoinCount    ,
    getSettingTeamMcastRejoinCount          ,
    setSettingTeamMcastRejoinCount          ,
#if defined(ENABLE_OVERLOADING)
    settingTeamMcastRejoinCount             ,
#endif


-- ** mcastRejoinInterval #attr:mcastRejoinInterval#
-- | Corresponds to the teamd mcast_rejoin.interval.
-- 
-- /Since: 1.12/

#if defined(ENABLE_OVERLOADING)
    SettingTeamMcastRejoinIntervalPropertyInfo,
#endif
    constructSettingTeamMcastRejoinInterval ,
    getSettingTeamMcastRejoinInterval       ,
    setSettingTeamMcastRejoinInterval       ,
#if defined(ENABLE_OVERLOADING)
    settingTeamMcastRejoinInterval          ,
#endif


-- ** notifyPeersCount #attr:notifyPeersCount#
-- | Corresponds to the teamd notify_peers.count.
-- 
-- /Since: 1.12/

#if defined(ENABLE_OVERLOADING)
    SettingTeamNotifyPeersCountPropertyInfo ,
#endif
    constructSettingTeamNotifyPeersCount    ,
    getSettingTeamNotifyPeersCount          ,
    setSettingTeamNotifyPeersCount          ,
#if defined(ENABLE_OVERLOADING)
    settingTeamNotifyPeersCount             ,
#endif


-- ** notifyPeersInterval #attr:notifyPeersInterval#
-- | Corresponds to the teamd notify_peers.interval.
-- 
-- /Since: 1.12/

#if defined(ENABLE_OVERLOADING)
    SettingTeamNotifyPeersIntervalPropertyInfo,
#endif
    constructSettingTeamNotifyPeersInterval ,
    getSettingTeamNotifyPeersInterval       ,
    setSettingTeamNotifyPeersInterval       ,
#if defined(ENABLE_OVERLOADING)
    settingTeamNotifyPeersInterval          ,
#endif


-- ** runner #attr:runner#
-- | Corresponds to the teamd runner.name.
-- Permitted values are: \"roundrobin\", \"broadcast\", \"activebackup\",
-- \"loadbalance\", \"lacp\", \"random\".
-- 
-- /Since: 1.12/

#if defined(ENABLE_OVERLOADING)
    SettingTeamRunnerPropertyInfo           ,
#endif
    clearSettingTeamRunner                  ,
    constructSettingTeamRunner              ,
    getSettingTeamRunner                    ,
    setSettingTeamRunner                    ,
#if defined(ENABLE_OVERLOADING)
    settingTeamRunner                       ,
#endif


-- ** runnerActive #attr:runnerActive#
-- | Corresponds to the teamd runner.active.
-- 
-- /Since: 1.12/

#if defined(ENABLE_OVERLOADING)
    SettingTeamRunnerActivePropertyInfo     ,
#endif
    constructSettingTeamRunnerActive        ,
    getSettingTeamRunnerActive              ,
    setSettingTeamRunnerActive              ,
#if defined(ENABLE_OVERLOADING)
    settingTeamRunnerActive                 ,
#endif


-- ** runnerAggSelectPolicy #attr:runnerAggSelectPolicy#
-- | Corresponds to the teamd runner.agg_select_policy.
-- 
-- /Since: 1.12/

#if defined(ENABLE_OVERLOADING)
    SettingTeamRunnerAggSelectPolicyPropertyInfo,
#endif
    clearSettingTeamRunnerAggSelectPolicy   ,
    constructSettingTeamRunnerAggSelectPolicy,
    getSettingTeamRunnerAggSelectPolicy     ,
    setSettingTeamRunnerAggSelectPolicy     ,
#if defined(ENABLE_OVERLOADING)
    settingTeamRunnerAggSelectPolicy        ,
#endif


-- ** runnerFastRate #attr:runnerFastRate#
-- | Corresponds to the teamd runner.fast_rate.
-- 
-- /Since: 1.12/

#if defined(ENABLE_OVERLOADING)
    SettingTeamRunnerFastRatePropertyInfo   ,
#endif
    constructSettingTeamRunnerFastRate      ,
    getSettingTeamRunnerFastRate            ,
    setSettingTeamRunnerFastRate            ,
#if defined(ENABLE_OVERLOADING)
    settingTeamRunnerFastRate               ,
#endif


-- ** runnerHwaddrPolicy #attr:runnerHwaddrPolicy#
-- | Corresponds to the teamd runner.hwaddr_policy.
-- 
-- /Since: 1.12/

#if defined(ENABLE_OVERLOADING)
    SettingTeamRunnerHwaddrPolicyPropertyInfo,
#endif
    clearSettingTeamRunnerHwaddrPolicy      ,
    constructSettingTeamRunnerHwaddrPolicy  ,
    getSettingTeamRunnerHwaddrPolicy        ,
    setSettingTeamRunnerHwaddrPolicy        ,
#if defined(ENABLE_OVERLOADING)
    settingTeamRunnerHwaddrPolicy           ,
#endif


-- ** runnerMinPorts #attr:runnerMinPorts#
-- | Corresponds to the teamd runner.min_ports.
-- 
-- /Since: 1.12/

#if defined(ENABLE_OVERLOADING)
    SettingTeamRunnerMinPortsPropertyInfo   ,
#endif
    constructSettingTeamRunnerMinPorts      ,
    getSettingTeamRunnerMinPorts            ,
    setSettingTeamRunnerMinPorts            ,
#if defined(ENABLE_OVERLOADING)
    settingTeamRunnerMinPorts               ,
#endif


-- ** runnerSysPrio #attr:runnerSysPrio#
-- | Corresponds to the teamd runner.sys_prio.
-- 
-- /Since: 1.12/

#if defined(ENABLE_OVERLOADING)
    SettingTeamRunnerSysPrioPropertyInfo    ,
#endif
    constructSettingTeamRunnerSysPrio       ,
    getSettingTeamRunnerSysPrio             ,
    setSettingTeamRunnerSysPrio             ,
#if defined(ENABLE_OVERLOADING)
    settingTeamRunnerSysPrio                ,
#endif


-- ** runnerTxBalancer #attr:runnerTxBalancer#
-- | Corresponds to the teamd runner.tx_balancer.name.
-- 
-- /Since: 1.12/

#if defined(ENABLE_OVERLOADING)
    SettingTeamRunnerTxBalancerPropertyInfo ,
#endif
    clearSettingTeamRunnerTxBalancer        ,
    constructSettingTeamRunnerTxBalancer    ,
    getSettingTeamRunnerTxBalancer          ,
    setSettingTeamRunnerTxBalancer          ,
#if defined(ENABLE_OVERLOADING)
    settingTeamRunnerTxBalancer             ,
#endif


-- ** runnerTxBalancerInterval #attr:runnerTxBalancerInterval#
-- | Corresponds to the teamd runner.tx_balancer.interval.
-- 
-- /Since: 1.12/

#if defined(ENABLE_OVERLOADING)
    SettingTeamRunnerTxBalancerIntervalPropertyInfo,
#endif
    constructSettingTeamRunnerTxBalancerInterval,
    getSettingTeamRunnerTxBalancerInterval  ,
    setSettingTeamRunnerTxBalancerInterval  ,
#if defined(ENABLE_OVERLOADING)
    settingTeamRunnerTxBalancerInterval     ,
#endif


-- ** runnerTxHash #attr:runnerTxHash#
-- | Corresponds to the teamd runner.tx_hash.
-- 
-- /Since: 1.12/

#if defined(ENABLE_OVERLOADING)
    SettingTeamRunnerTxHashPropertyInfo     ,
#endif
    clearSettingTeamRunnerTxHash            ,
    constructSettingTeamRunnerTxHash        ,
    getSettingTeamRunnerTxHash              ,
    setSettingTeamRunnerTxHash              ,
#if defined(ENABLE_OVERLOADING)
    settingTeamRunnerTxHash                 ,
#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

-- Workaround for https://gitlab.haskell.org/ghc/ghc/-/issues/23392
#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.SettingIP6Config as NM.SettingIP6Config
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.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.Objects.Setting as NM.Setting
import {-# SOURCE #-} qualified GI.NM.Structs.TeamLinkWatcher as NM.TeamLinkWatcher

#endif

-- | Memory-managed wrapper type.
newtype SettingTeam = SettingTeam (SP.ManagedPtr SettingTeam)
    deriving (SettingTeam -> SettingTeam -> Bool
(SettingTeam -> SettingTeam -> Bool)
-> (SettingTeam -> SettingTeam -> Bool) -> Eq SettingTeam
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SettingTeam -> SettingTeam -> Bool
== :: SettingTeam -> SettingTeam -> Bool
$c/= :: SettingTeam -> SettingTeam -> Bool
/= :: SettingTeam -> SettingTeam -> Bool
Eq)

instance SP.ManagedPtrNewtype SettingTeam where
    toManagedPtr :: SettingTeam -> ManagedPtr SettingTeam
toManagedPtr (SettingTeam ManagedPtr SettingTeam
p) = ManagedPtr SettingTeam
p

foreign import ccall "nm_setting_team_get_type"
    c_nm_setting_team_get_type :: IO B.Types.GType

instance B.Types.TypedObject SettingTeam where
    glibType :: IO GType
glibType = IO GType
c_nm_setting_team_get_type

instance B.Types.GObject SettingTeam

-- | Type class for types which can be safely cast to t'SettingTeam', for instance with `toSettingTeam`.
class (SP.GObject o, O.IsDescendantOf SettingTeam o) => IsSettingTeam o
instance (SP.GObject o, O.IsDescendantOf SettingTeam o) => IsSettingTeam o

instance O.HasParentTypes SettingTeam
type instance O.ParentTypes SettingTeam = '[NM.Setting.Setting, GObject.Object.Object]

-- | Cast to t'SettingTeam', for types for which this is known to be safe. For general casts, use 'Data.GI.Base.ManagedPtr.castTo'.
toSettingTeam :: (MIO.MonadIO m, IsSettingTeam o) => o -> m SettingTeam
toSettingTeam :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> m SettingTeam
toSettingTeam = IO SettingTeam -> m SettingTeam
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO SettingTeam -> m SettingTeam)
-> (o -> IO SettingTeam) -> o -> m SettingTeam
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr SettingTeam -> SettingTeam) -> o -> IO SettingTeam
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
 ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
B.ManagedPtr.unsafeCastTo ManagedPtr SettingTeam -> SettingTeam
SettingTeam

-- | Convert t'SettingTeam' to and from t'Data.GI.Base.GValue.GValue'. See 'Data.GI.Base.GValue.toGValue' and 'Data.GI.Base.GValue.fromGValue'.
instance B.GValue.IsGValue (Maybe SettingTeam) where
    gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_nm_setting_team_get_type
    gvalueSet_ :: Ptr GValue -> Maybe SettingTeam -> IO ()
gvalueSet_ Ptr GValue
gv Maybe SettingTeam
P.Nothing = Ptr GValue -> Ptr SettingTeam -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr SettingTeam
forall a. Ptr a
FP.nullPtr :: FP.Ptr SettingTeam)
    gvalueSet_ Ptr GValue
gv (P.Just SettingTeam
obj) = SettingTeam -> (Ptr SettingTeam -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr SettingTeam
obj (Ptr GValue -> Ptr SettingTeam -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
    gvalueGet_ :: Ptr GValue -> IO (Maybe SettingTeam)
gvalueGet_ Ptr GValue
gv = do
        Ptr SettingTeam
ptr <- Ptr GValue -> IO (Ptr SettingTeam)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr SettingTeam)
        if Ptr SettingTeam
ptr Ptr SettingTeam -> Ptr SettingTeam -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr SettingTeam
forall a. Ptr a
FP.nullPtr
        then SettingTeam -> Maybe SettingTeam
forall a. a -> Maybe a
P.Just (SettingTeam -> Maybe SettingTeam)
-> IO SettingTeam -> IO (Maybe SettingTeam)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr SettingTeam -> SettingTeam)
-> Ptr SettingTeam -> IO SettingTeam
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr SettingTeam -> SettingTeam
SettingTeam Ptr SettingTeam
ptr
        else Maybe SettingTeam -> IO (Maybe SettingTeam)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe SettingTeam
forall a. Maybe a
P.Nothing
        
    

#if defined(ENABLE_OVERLOADING)
type family ResolveSettingTeamMethod (t :: Symbol) (o :: DK.Type) :: DK.Type where
    ResolveSettingTeamMethod "addLinkWatcher" o = SettingTeamAddLinkWatcherMethodInfo
    ResolveSettingTeamMethod "addRunnerTxHash" o = SettingTeamAddRunnerTxHashMethodInfo
    ResolveSettingTeamMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
    ResolveSettingTeamMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
    ResolveSettingTeamMethod "clearLinkWatchers" o = SettingTeamClearLinkWatchersMethodInfo
    ResolveSettingTeamMethod "compare" o = NM.Setting.SettingCompareMethodInfo
    ResolveSettingTeamMethod "diff" o = NM.Setting.SettingDiffMethodInfo
    ResolveSettingTeamMethod "duplicate" o = NM.Setting.SettingDuplicateMethodInfo
    ResolveSettingTeamMethod "enumerateValues" o = NM.Setting.SettingEnumerateValuesMethodInfo
    ResolveSettingTeamMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
    ResolveSettingTeamMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
    ResolveSettingTeamMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
    ResolveSettingTeamMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
    ResolveSettingTeamMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
    ResolveSettingTeamMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
    ResolveSettingTeamMethod "optionClearByName" o = NM.Setting.SettingOptionClearByNameMethodInfo
    ResolveSettingTeamMethod "optionGet" o = NM.Setting.SettingOptionGetMethodInfo
    ResolveSettingTeamMethod "optionGetAllNames" o = NM.Setting.SettingOptionGetAllNamesMethodInfo
    ResolveSettingTeamMethod "optionGetBoolean" o = NM.Setting.SettingOptionGetBooleanMethodInfo
    ResolveSettingTeamMethod "optionGetUint32" o = NM.Setting.SettingOptionGetUint32MethodInfo
    ResolveSettingTeamMethod "optionSet" o = NM.Setting.SettingOptionSetMethodInfo
    ResolveSettingTeamMethod "optionSetBoolean" o = NM.Setting.SettingOptionSetBooleanMethodInfo
    ResolveSettingTeamMethod "optionSetUint32" o = NM.Setting.SettingOptionSetUint32MethodInfo
    ResolveSettingTeamMethod "ref" o = GObject.Object.ObjectRefMethodInfo
    ResolveSettingTeamMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
    ResolveSettingTeamMethod "removeLinkWatcher" o = SettingTeamRemoveLinkWatcherMethodInfo
    ResolveSettingTeamMethod "removeLinkWatcherByValue" o = SettingTeamRemoveLinkWatcherByValueMethodInfo
    ResolveSettingTeamMethod "removeRunnerTxHash" o = SettingTeamRemoveRunnerTxHashMethodInfo
    ResolveSettingTeamMethod "removeRunnerTxHashByValue" o = SettingTeamRemoveRunnerTxHashByValueMethodInfo
    ResolveSettingTeamMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
    ResolveSettingTeamMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
    ResolveSettingTeamMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
    ResolveSettingTeamMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
    ResolveSettingTeamMethod "toString" o = NM.Setting.SettingToStringMethodInfo
    ResolveSettingTeamMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
    ResolveSettingTeamMethod "verify" o = NM.Setting.SettingVerifyMethodInfo
    ResolveSettingTeamMethod "verifySecrets" o = NM.Setting.SettingVerifySecretsMethodInfo
    ResolveSettingTeamMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
    ResolveSettingTeamMethod "getConfig" o = SettingTeamGetConfigMethodInfo
    ResolveSettingTeamMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
    ResolveSettingTeamMethod "getDbusPropertyType" o = NM.Setting.SettingGetDbusPropertyTypeMethodInfo
    ResolveSettingTeamMethod "getLinkWatcher" o = SettingTeamGetLinkWatcherMethodInfo
    ResolveSettingTeamMethod "getMcastRejoinCount" o = SettingTeamGetMcastRejoinCountMethodInfo
    ResolveSettingTeamMethod "getMcastRejoinInterval" o = SettingTeamGetMcastRejoinIntervalMethodInfo
    ResolveSettingTeamMethod "getName" o = NM.Setting.SettingGetNameMethodInfo
    ResolveSettingTeamMethod "getNotifyPeersCount" o = SettingTeamGetNotifyPeersCountMethodInfo
    ResolveSettingTeamMethod "getNotifyPeersInterval" o = SettingTeamGetNotifyPeersIntervalMethodInfo
    ResolveSettingTeamMethod "getNumLinkWatchers" o = SettingTeamGetNumLinkWatchersMethodInfo
    ResolveSettingTeamMethod "getNumRunnerTxHash" o = SettingTeamGetNumRunnerTxHashMethodInfo
    ResolveSettingTeamMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
    ResolveSettingTeamMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
    ResolveSettingTeamMethod "getRunner" o = SettingTeamGetRunnerMethodInfo
    ResolveSettingTeamMethod "getRunnerActive" o = SettingTeamGetRunnerActiveMethodInfo
    ResolveSettingTeamMethod "getRunnerAggSelectPolicy" o = SettingTeamGetRunnerAggSelectPolicyMethodInfo
    ResolveSettingTeamMethod "getRunnerFastRate" o = SettingTeamGetRunnerFastRateMethodInfo
    ResolveSettingTeamMethod "getRunnerHwaddrPolicy" o = SettingTeamGetRunnerHwaddrPolicyMethodInfo
    ResolveSettingTeamMethod "getRunnerMinPorts" o = SettingTeamGetRunnerMinPortsMethodInfo
    ResolveSettingTeamMethod "getRunnerSysPrio" o = SettingTeamGetRunnerSysPrioMethodInfo
    ResolveSettingTeamMethod "getRunnerTxBalancer" o = SettingTeamGetRunnerTxBalancerMethodInfo
    ResolveSettingTeamMethod "getRunnerTxBalancerInterval" o = SettingTeamGetRunnerTxBalancerIntervalMethodInfo
    ResolveSettingTeamMethod "getRunnerTxHash" o = SettingTeamGetRunnerTxHashMethodInfo
    ResolveSettingTeamMethod "getSecretFlags" o = NM.Setting.SettingGetSecretFlagsMethodInfo
    ResolveSettingTeamMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
    ResolveSettingTeamMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
    ResolveSettingTeamMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
    ResolveSettingTeamMethod "setSecretFlags" o = NM.Setting.SettingSetSecretFlagsMethodInfo
    ResolveSettingTeamMethod l o = O.MethodResolutionFailed l o

instance (info ~ ResolveSettingTeamMethod t SettingTeam, O.OverloadedMethod info SettingTeam p) => OL.IsLabel t (SettingTeam -> 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 ~ ResolveSettingTeamMethod t SettingTeam, O.OverloadedMethod info SettingTeam p, R.HasField t SettingTeam p) => R.HasField t SettingTeam p where
    getField = O.overloadedMethod @info

#endif

instance (info ~ ResolveSettingTeamMethod t SettingTeam, O.OverloadedMethodInfo info SettingTeam) => OL.IsLabel t (O.MethodProxy info SettingTeam) where
#if MIN_VERSION_base(4,10,0)
    fromLabel = O.MethodProxy
#else
    fromLabel _ = O.MethodProxy
#endif

#endif

-- VVV Prop "config"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Nothing)

-- | Get the value of the “@config@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' settingTeam #config
-- @
getSettingTeamConfig :: (MonadIO m, IsSettingTeam o) => o -> m T.Text
getSettingTeamConfig :: forall (m :: * -> *) o. (MonadIO m, IsSettingTeam o) => o -> m Text
getSettingTeamConfig 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
"getSettingTeamConfig" (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
"config"

-- | Set the value of the “@config@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' settingTeam [ #config 'Data.GI.Base.Attributes.:=' value ]
-- @
setSettingTeamConfig :: (MonadIO m, IsSettingTeam o) => o -> T.Text -> m ()
setSettingTeamConfig :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> Text -> m ()
setSettingTeamConfig 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
"config" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)

-- | Construct a t'GValueConstruct' with valid value for the “@config@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSettingTeamConfig :: (IsSettingTeam o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructSettingTeamConfig :: forall o (m :: * -> *).
(IsSettingTeam o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructSettingTeamConfig 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
"config" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

-- | Set the value of the “@config@” property to `Nothing`.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.clear' #config
-- @
clearSettingTeamConfig :: (MonadIO m, IsSettingTeam o) => o -> m ()
clearSettingTeamConfig :: forall (m :: * -> *) o. (MonadIO m, IsSettingTeam o) => o -> m ()
clearSettingTeamConfig 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
"config" (Maybe Text
forall a. Maybe a
Nothing :: Maybe T.Text)

#if defined(ENABLE_OVERLOADING)
data SettingTeamConfigPropertyInfo
instance AttrInfo SettingTeamConfigPropertyInfo where
    type AttrAllowedOps SettingTeamConfigPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
    type AttrBaseTypeConstraint SettingTeamConfigPropertyInfo = IsSettingTeam
    type AttrSetTypeConstraint SettingTeamConfigPropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint SettingTeamConfigPropertyInfo = (~) T.Text
    type AttrTransferType SettingTeamConfigPropertyInfo = T.Text
    type AttrGetType SettingTeamConfigPropertyInfo = T.Text
    type AttrLabel SettingTeamConfigPropertyInfo = "config"
    type AttrOrigin SettingTeamConfigPropertyInfo = SettingTeam
    attrGet = getSettingTeamConfig
    attrSet = setSettingTeamConfig
    attrTransfer _ v = do
        return v
    attrConstruct = constructSettingTeamConfig
    attrClear = clearSettingTeamConfig
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.config"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#g:attr:config"
        })
#endif

-- XXX Generation of property "link-watchers" of object "SettingTeam" failed.
-- Not implemented: Don't know how to handle properties of type TPtrArray (TInterface (Name {namespace = "NM", name = "TeamLinkWatcher"}))
#if defined(ENABLE_OVERLOADING)
-- XXX Placeholder
data SettingTeamLinkWatchersPropertyInfo
instance AttrInfo SettingTeamLinkWatchersPropertyInfo where
    type AttrAllowedOps SettingTeamLinkWatchersPropertyInfo = '[]
    type AttrSetTypeConstraint SettingTeamLinkWatchersPropertyInfo = (~) ()
    type AttrTransferTypeConstraint SettingTeamLinkWatchersPropertyInfo = (~) ()
    type AttrTransferType SettingTeamLinkWatchersPropertyInfo = ()
    type AttrBaseTypeConstraint SettingTeamLinkWatchersPropertyInfo = (~) ()
    type AttrGetType SettingTeamLinkWatchersPropertyInfo = ()
    type AttrLabel SettingTeamLinkWatchersPropertyInfo = ""
    type AttrOrigin SettingTeamLinkWatchersPropertyInfo = SettingTeam
    attrGet = undefined
    attrSet = undefined
    attrConstruct = undefined
    attrClear = undefined
    attrTransfer = undefined
#endif

-- VVV Prop "mcast-rejoin-count"
   -- Type: TBasicType TInt
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Nothing)

-- | Get the value of the “@mcast-rejoin-count@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' settingTeam #mcastRejoinCount
-- @
getSettingTeamMcastRejoinCount :: (MonadIO m, IsSettingTeam o) => o -> m Int32
getSettingTeamMcastRejoinCount :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> m Int32
getSettingTeamMcastRejoinCount 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
"mcast-rejoin-count"

-- | Set the value of the “@mcast-rejoin-count@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' settingTeam [ #mcastRejoinCount 'Data.GI.Base.Attributes.:=' value ]
-- @
setSettingTeamMcastRejoinCount :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m ()
setSettingTeamMcastRejoinCount :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> Int32 -> m ()
setSettingTeamMcastRejoinCount 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
"mcast-rejoin-count" Int32
val

-- | Construct a t'GValueConstruct' with valid value for the “@mcast-rejoin-count@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSettingTeamMcastRejoinCount :: (IsSettingTeam o, MIO.MonadIO m) => Int32 -> m (GValueConstruct o)
constructSettingTeamMcastRejoinCount :: forall o (m :: * -> *).
(IsSettingTeam o, MonadIO m) =>
Int32 -> m (GValueConstruct o)
constructSettingTeamMcastRejoinCount 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
"mcast-rejoin-count" Int32
val

#if defined(ENABLE_OVERLOADING)
data SettingTeamMcastRejoinCountPropertyInfo
instance AttrInfo SettingTeamMcastRejoinCountPropertyInfo where
    type AttrAllowedOps SettingTeamMcastRejoinCountPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint SettingTeamMcastRejoinCountPropertyInfo = IsSettingTeam
    type AttrSetTypeConstraint SettingTeamMcastRejoinCountPropertyInfo = (~) Int32
    type AttrTransferTypeConstraint SettingTeamMcastRejoinCountPropertyInfo = (~) Int32
    type AttrTransferType SettingTeamMcastRejoinCountPropertyInfo = Int32
    type AttrGetType SettingTeamMcastRejoinCountPropertyInfo = Int32
    type AttrLabel SettingTeamMcastRejoinCountPropertyInfo = "mcast-rejoin-count"
    type AttrOrigin SettingTeamMcastRejoinCountPropertyInfo = SettingTeam
    attrGet = getSettingTeamMcastRejoinCount
    attrSet = setSettingTeamMcastRejoinCount
    attrTransfer _ v = do
        return v
    attrConstruct = constructSettingTeamMcastRejoinCount
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.mcastRejoinCount"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#g:attr:mcastRejoinCount"
        })
#endif

-- VVV Prop "mcast-rejoin-interval"
   -- Type: TBasicType TInt
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Nothing)

-- | Get the value of the “@mcast-rejoin-interval@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' settingTeam #mcastRejoinInterval
-- @
getSettingTeamMcastRejoinInterval :: (MonadIO m, IsSettingTeam o) => o -> m Int32
getSettingTeamMcastRejoinInterval :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> m Int32
getSettingTeamMcastRejoinInterval 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
"mcast-rejoin-interval"

-- | Set the value of the “@mcast-rejoin-interval@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' settingTeam [ #mcastRejoinInterval 'Data.GI.Base.Attributes.:=' value ]
-- @
setSettingTeamMcastRejoinInterval :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m ()
setSettingTeamMcastRejoinInterval :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> Int32 -> m ()
setSettingTeamMcastRejoinInterval 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
"mcast-rejoin-interval" Int32
val

-- | Construct a t'GValueConstruct' with valid value for the “@mcast-rejoin-interval@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSettingTeamMcastRejoinInterval :: (IsSettingTeam o, MIO.MonadIO m) => Int32 -> m (GValueConstruct o)
constructSettingTeamMcastRejoinInterval :: forall o (m :: * -> *).
(IsSettingTeam o, MonadIO m) =>
Int32 -> m (GValueConstruct o)
constructSettingTeamMcastRejoinInterval 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
"mcast-rejoin-interval" Int32
val

#if defined(ENABLE_OVERLOADING)
data SettingTeamMcastRejoinIntervalPropertyInfo
instance AttrInfo SettingTeamMcastRejoinIntervalPropertyInfo where
    type AttrAllowedOps SettingTeamMcastRejoinIntervalPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint SettingTeamMcastRejoinIntervalPropertyInfo = IsSettingTeam
    type AttrSetTypeConstraint SettingTeamMcastRejoinIntervalPropertyInfo = (~) Int32
    type AttrTransferTypeConstraint SettingTeamMcastRejoinIntervalPropertyInfo = (~) Int32
    type AttrTransferType SettingTeamMcastRejoinIntervalPropertyInfo = Int32
    type AttrGetType SettingTeamMcastRejoinIntervalPropertyInfo = Int32
    type AttrLabel SettingTeamMcastRejoinIntervalPropertyInfo = "mcast-rejoin-interval"
    type AttrOrigin SettingTeamMcastRejoinIntervalPropertyInfo = SettingTeam
    attrGet = getSettingTeamMcastRejoinInterval
    attrSet = setSettingTeamMcastRejoinInterval
    attrTransfer _ v = do
        return v
    attrConstruct = constructSettingTeamMcastRejoinInterval
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.mcastRejoinInterval"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#g:attr:mcastRejoinInterval"
        })
#endif

-- VVV Prop "notify-peers-count"
   -- Type: TBasicType TInt
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Nothing)

-- | Get the value of the “@notify-peers-count@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' settingTeam #notifyPeersCount
-- @
getSettingTeamNotifyPeersCount :: (MonadIO m, IsSettingTeam o) => o -> m Int32
getSettingTeamNotifyPeersCount :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> m Int32
getSettingTeamNotifyPeersCount 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
"notify-peers-count"

-- | Set the value of the “@notify-peers-count@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' settingTeam [ #notifyPeersCount 'Data.GI.Base.Attributes.:=' value ]
-- @
setSettingTeamNotifyPeersCount :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m ()
setSettingTeamNotifyPeersCount :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> Int32 -> m ()
setSettingTeamNotifyPeersCount 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
"notify-peers-count" Int32
val

-- | Construct a t'GValueConstruct' with valid value for the “@notify-peers-count@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSettingTeamNotifyPeersCount :: (IsSettingTeam o, MIO.MonadIO m) => Int32 -> m (GValueConstruct o)
constructSettingTeamNotifyPeersCount :: forall o (m :: * -> *).
(IsSettingTeam o, MonadIO m) =>
Int32 -> m (GValueConstruct o)
constructSettingTeamNotifyPeersCount 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
"notify-peers-count" Int32
val

#if defined(ENABLE_OVERLOADING)
data SettingTeamNotifyPeersCountPropertyInfo
instance AttrInfo SettingTeamNotifyPeersCountPropertyInfo where
    type AttrAllowedOps SettingTeamNotifyPeersCountPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint SettingTeamNotifyPeersCountPropertyInfo = IsSettingTeam
    type AttrSetTypeConstraint SettingTeamNotifyPeersCountPropertyInfo = (~) Int32
    type AttrTransferTypeConstraint SettingTeamNotifyPeersCountPropertyInfo = (~) Int32
    type AttrTransferType SettingTeamNotifyPeersCountPropertyInfo = Int32
    type AttrGetType SettingTeamNotifyPeersCountPropertyInfo = Int32
    type AttrLabel SettingTeamNotifyPeersCountPropertyInfo = "notify-peers-count"
    type AttrOrigin SettingTeamNotifyPeersCountPropertyInfo = SettingTeam
    attrGet = getSettingTeamNotifyPeersCount
    attrSet = setSettingTeamNotifyPeersCount
    attrTransfer _ v = do
        return v
    attrConstruct = constructSettingTeamNotifyPeersCount
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.notifyPeersCount"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#g:attr:notifyPeersCount"
        })
#endif

-- VVV Prop "notify-peers-interval"
   -- Type: TBasicType TInt
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Nothing)

-- | Get the value of the “@notify-peers-interval@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' settingTeam #notifyPeersInterval
-- @
getSettingTeamNotifyPeersInterval :: (MonadIO m, IsSettingTeam o) => o -> m Int32
getSettingTeamNotifyPeersInterval :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> m Int32
getSettingTeamNotifyPeersInterval 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
"notify-peers-interval"

-- | Set the value of the “@notify-peers-interval@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' settingTeam [ #notifyPeersInterval 'Data.GI.Base.Attributes.:=' value ]
-- @
setSettingTeamNotifyPeersInterval :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m ()
setSettingTeamNotifyPeersInterval :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> Int32 -> m ()
setSettingTeamNotifyPeersInterval 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
"notify-peers-interval" Int32
val

-- | Construct a t'GValueConstruct' with valid value for the “@notify-peers-interval@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSettingTeamNotifyPeersInterval :: (IsSettingTeam o, MIO.MonadIO m) => Int32 -> m (GValueConstruct o)
constructSettingTeamNotifyPeersInterval :: forall o (m :: * -> *).
(IsSettingTeam o, MonadIO m) =>
Int32 -> m (GValueConstruct o)
constructSettingTeamNotifyPeersInterval 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
"notify-peers-interval" Int32
val

#if defined(ENABLE_OVERLOADING)
data SettingTeamNotifyPeersIntervalPropertyInfo
instance AttrInfo SettingTeamNotifyPeersIntervalPropertyInfo where
    type AttrAllowedOps SettingTeamNotifyPeersIntervalPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint SettingTeamNotifyPeersIntervalPropertyInfo = IsSettingTeam
    type AttrSetTypeConstraint SettingTeamNotifyPeersIntervalPropertyInfo = (~) Int32
    type AttrTransferTypeConstraint SettingTeamNotifyPeersIntervalPropertyInfo = (~) Int32
    type AttrTransferType SettingTeamNotifyPeersIntervalPropertyInfo = Int32
    type AttrGetType SettingTeamNotifyPeersIntervalPropertyInfo = Int32
    type AttrLabel SettingTeamNotifyPeersIntervalPropertyInfo = "notify-peers-interval"
    type AttrOrigin SettingTeamNotifyPeersIntervalPropertyInfo = SettingTeam
    attrGet = getSettingTeamNotifyPeersInterval
    attrSet = setSettingTeamNotifyPeersInterval
    attrTransfer _ v = do
        return v
    attrConstruct = constructSettingTeamNotifyPeersInterval
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.notifyPeersInterval"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#g:attr:notifyPeersInterval"
        })
#endif

-- VVV Prop "runner"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Nothing)

-- | Get the value of the “@runner@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' settingTeam #runner
-- @
getSettingTeamRunner :: (MonadIO m, IsSettingTeam o) => o -> m T.Text
getSettingTeamRunner :: forall (m :: * -> *) o. (MonadIO m, IsSettingTeam o) => o -> m Text
getSettingTeamRunner 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
"getSettingTeamRunner" (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
"runner"

-- | Set the value of the “@runner@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' settingTeam [ #runner 'Data.GI.Base.Attributes.:=' value ]
-- @
setSettingTeamRunner :: (MonadIO m, IsSettingTeam o) => o -> T.Text -> m ()
setSettingTeamRunner :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> Text -> m ()
setSettingTeamRunner 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
"runner" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)

-- | Construct a t'GValueConstruct' with valid value for the “@runner@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSettingTeamRunner :: (IsSettingTeam o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructSettingTeamRunner :: forall o (m :: * -> *).
(IsSettingTeam o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructSettingTeamRunner 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
"runner" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

-- | Set the value of the “@runner@” property to `Nothing`.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.clear' #runner
-- @
clearSettingTeamRunner :: (MonadIO m, IsSettingTeam o) => o -> m ()
clearSettingTeamRunner :: forall (m :: * -> *) o. (MonadIO m, IsSettingTeam o) => o -> m ()
clearSettingTeamRunner 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
"runner" (Maybe Text
forall a. Maybe a
Nothing :: Maybe T.Text)

#if defined(ENABLE_OVERLOADING)
data SettingTeamRunnerPropertyInfo
instance AttrInfo SettingTeamRunnerPropertyInfo where
    type AttrAllowedOps SettingTeamRunnerPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
    type AttrBaseTypeConstraint SettingTeamRunnerPropertyInfo = IsSettingTeam
    type AttrSetTypeConstraint SettingTeamRunnerPropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint SettingTeamRunnerPropertyInfo = (~) T.Text
    type AttrTransferType SettingTeamRunnerPropertyInfo = T.Text
    type AttrGetType SettingTeamRunnerPropertyInfo = T.Text
    type AttrLabel SettingTeamRunnerPropertyInfo = "runner"
    type AttrOrigin SettingTeamRunnerPropertyInfo = SettingTeam
    attrGet = getSettingTeamRunner
    attrSet = setSettingTeamRunner
    attrTransfer _ v = do
        return v
    attrConstruct = constructSettingTeamRunner
    attrClear = clearSettingTeamRunner
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.runner"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#g:attr:runner"
        })
#endif

-- VVV Prop "runner-active"
   -- Type: TBasicType TBoolean
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Nothing)

-- | Get the value of the “@runner-active@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' settingTeam #runnerActive
-- @
getSettingTeamRunnerActive :: (MonadIO m, IsSettingTeam o) => o -> m Bool
getSettingTeamRunnerActive :: forall (m :: * -> *) o. (MonadIO m, IsSettingTeam o) => o -> m Bool
getSettingTeamRunnerActive o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"runner-active"

-- | Set the value of the “@runner-active@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' settingTeam [ #runnerActive 'Data.GI.Base.Attributes.:=' value ]
-- @
setSettingTeamRunnerActive :: (MonadIO m, IsSettingTeam o) => o -> Bool -> m ()
setSettingTeamRunnerActive :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> Bool -> m ()
setSettingTeamRunnerActive o
obj Bool
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 -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"runner-active" Bool
val

-- | Construct a t'GValueConstruct' with valid value for the “@runner-active@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSettingTeamRunnerActive :: (IsSettingTeam o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructSettingTeamRunnerActive :: forall o (m :: * -> *).
(IsSettingTeam o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructSettingTeamRunnerActive Bool
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 -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"runner-active" Bool
val

#if defined(ENABLE_OVERLOADING)
data SettingTeamRunnerActivePropertyInfo
instance AttrInfo SettingTeamRunnerActivePropertyInfo where
    type AttrAllowedOps SettingTeamRunnerActivePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint SettingTeamRunnerActivePropertyInfo = IsSettingTeam
    type AttrSetTypeConstraint SettingTeamRunnerActivePropertyInfo = (~) Bool
    type AttrTransferTypeConstraint SettingTeamRunnerActivePropertyInfo = (~) Bool
    type AttrTransferType SettingTeamRunnerActivePropertyInfo = Bool
    type AttrGetType SettingTeamRunnerActivePropertyInfo = Bool
    type AttrLabel SettingTeamRunnerActivePropertyInfo = "runner-active"
    type AttrOrigin SettingTeamRunnerActivePropertyInfo = SettingTeam
    attrGet = getSettingTeamRunnerActive
    attrSet = setSettingTeamRunnerActive
    attrTransfer _ v = do
        return v
    attrConstruct = constructSettingTeamRunnerActive
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.runnerActive"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#g:attr:runnerActive"
        })
#endif

-- VVV Prop "runner-agg-select-policy"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Nothing)

-- | Get the value of the “@runner-agg-select-policy@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' settingTeam #runnerAggSelectPolicy
-- @
getSettingTeamRunnerAggSelectPolicy :: (MonadIO m, IsSettingTeam o) => o -> m T.Text
getSettingTeamRunnerAggSelectPolicy :: forall (m :: * -> *) o. (MonadIO m, IsSettingTeam o) => o -> m Text
getSettingTeamRunnerAggSelectPolicy 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
"getSettingTeamRunnerAggSelectPolicy" (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
"runner-agg-select-policy"

-- | Set the value of the “@runner-agg-select-policy@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' settingTeam [ #runnerAggSelectPolicy 'Data.GI.Base.Attributes.:=' value ]
-- @
setSettingTeamRunnerAggSelectPolicy :: (MonadIO m, IsSettingTeam o) => o -> T.Text -> m ()
setSettingTeamRunnerAggSelectPolicy :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> Text -> m ()
setSettingTeamRunnerAggSelectPolicy 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
"runner-agg-select-policy" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)

-- | Construct a t'GValueConstruct' with valid value for the “@runner-agg-select-policy@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSettingTeamRunnerAggSelectPolicy :: (IsSettingTeam o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructSettingTeamRunnerAggSelectPolicy :: forall o (m :: * -> *).
(IsSettingTeam o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructSettingTeamRunnerAggSelectPolicy 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
"runner-agg-select-policy" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

-- | Set the value of the “@runner-agg-select-policy@” property to `Nothing`.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.clear' #runnerAggSelectPolicy
-- @
clearSettingTeamRunnerAggSelectPolicy :: (MonadIO m, IsSettingTeam o) => o -> m ()
clearSettingTeamRunnerAggSelectPolicy :: forall (m :: * -> *) o. (MonadIO m, IsSettingTeam o) => o -> m ()
clearSettingTeamRunnerAggSelectPolicy 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
"runner-agg-select-policy" (Maybe Text
forall a. Maybe a
Nothing :: Maybe T.Text)

#if defined(ENABLE_OVERLOADING)
data SettingTeamRunnerAggSelectPolicyPropertyInfo
instance AttrInfo SettingTeamRunnerAggSelectPolicyPropertyInfo where
    type AttrAllowedOps SettingTeamRunnerAggSelectPolicyPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
    type AttrBaseTypeConstraint SettingTeamRunnerAggSelectPolicyPropertyInfo = IsSettingTeam
    type AttrSetTypeConstraint SettingTeamRunnerAggSelectPolicyPropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint SettingTeamRunnerAggSelectPolicyPropertyInfo = (~) T.Text
    type AttrTransferType SettingTeamRunnerAggSelectPolicyPropertyInfo = T.Text
    type AttrGetType SettingTeamRunnerAggSelectPolicyPropertyInfo = T.Text
    type AttrLabel SettingTeamRunnerAggSelectPolicyPropertyInfo = "runner-agg-select-policy"
    type AttrOrigin SettingTeamRunnerAggSelectPolicyPropertyInfo = SettingTeam
    attrGet = getSettingTeamRunnerAggSelectPolicy
    attrSet = setSettingTeamRunnerAggSelectPolicy
    attrTransfer _ v = do
        return v
    attrConstruct = constructSettingTeamRunnerAggSelectPolicy
    attrClear = clearSettingTeamRunnerAggSelectPolicy
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.runnerAggSelectPolicy"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#g:attr:runnerAggSelectPolicy"
        })
#endif

-- VVV Prop "runner-fast-rate"
   -- Type: TBasicType TBoolean
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Nothing)

-- | Get the value of the “@runner-fast-rate@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' settingTeam #runnerFastRate
-- @
getSettingTeamRunnerFastRate :: (MonadIO m, IsSettingTeam o) => o -> m Bool
getSettingTeamRunnerFastRate :: forall (m :: * -> *) o. (MonadIO m, IsSettingTeam o) => o -> m Bool
getSettingTeamRunnerFastRate o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"runner-fast-rate"

-- | Set the value of the “@runner-fast-rate@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' settingTeam [ #runnerFastRate 'Data.GI.Base.Attributes.:=' value ]
-- @
setSettingTeamRunnerFastRate :: (MonadIO m, IsSettingTeam o) => o -> Bool -> m ()
setSettingTeamRunnerFastRate :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> Bool -> m ()
setSettingTeamRunnerFastRate o
obj Bool
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 -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"runner-fast-rate" Bool
val

-- | Construct a t'GValueConstruct' with valid value for the “@runner-fast-rate@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSettingTeamRunnerFastRate :: (IsSettingTeam o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructSettingTeamRunnerFastRate :: forall o (m :: * -> *).
(IsSettingTeam o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructSettingTeamRunnerFastRate Bool
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 -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"runner-fast-rate" Bool
val

#if defined(ENABLE_OVERLOADING)
data SettingTeamRunnerFastRatePropertyInfo
instance AttrInfo SettingTeamRunnerFastRatePropertyInfo where
    type AttrAllowedOps SettingTeamRunnerFastRatePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint SettingTeamRunnerFastRatePropertyInfo = IsSettingTeam
    type AttrSetTypeConstraint SettingTeamRunnerFastRatePropertyInfo = (~) Bool
    type AttrTransferTypeConstraint SettingTeamRunnerFastRatePropertyInfo = (~) Bool
    type AttrTransferType SettingTeamRunnerFastRatePropertyInfo = Bool
    type AttrGetType SettingTeamRunnerFastRatePropertyInfo = Bool
    type AttrLabel SettingTeamRunnerFastRatePropertyInfo = "runner-fast-rate"
    type AttrOrigin SettingTeamRunnerFastRatePropertyInfo = SettingTeam
    attrGet = getSettingTeamRunnerFastRate
    attrSet = setSettingTeamRunnerFastRate
    attrTransfer _ v = do
        return v
    attrConstruct = constructSettingTeamRunnerFastRate
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.runnerFastRate"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#g:attr:runnerFastRate"
        })
#endif

-- VVV Prop "runner-hwaddr-policy"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Nothing)

-- | Get the value of the “@runner-hwaddr-policy@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' settingTeam #runnerHwaddrPolicy
-- @
getSettingTeamRunnerHwaddrPolicy :: (MonadIO m, IsSettingTeam o) => o -> m T.Text
getSettingTeamRunnerHwaddrPolicy :: forall (m :: * -> *) o. (MonadIO m, IsSettingTeam o) => o -> m Text
getSettingTeamRunnerHwaddrPolicy 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
"getSettingTeamRunnerHwaddrPolicy" (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
"runner-hwaddr-policy"

-- | Set the value of the “@runner-hwaddr-policy@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' settingTeam [ #runnerHwaddrPolicy 'Data.GI.Base.Attributes.:=' value ]
-- @
setSettingTeamRunnerHwaddrPolicy :: (MonadIO m, IsSettingTeam o) => o -> T.Text -> m ()
setSettingTeamRunnerHwaddrPolicy :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> Text -> m ()
setSettingTeamRunnerHwaddrPolicy 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
"runner-hwaddr-policy" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)

-- | Construct a t'GValueConstruct' with valid value for the “@runner-hwaddr-policy@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSettingTeamRunnerHwaddrPolicy :: (IsSettingTeam o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructSettingTeamRunnerHwaddrPolicy :: forall o (m :: * -> *).
(IsSettingTeam o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructSettingTeamRunnerHwaddrPolicy 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
"runner-hwaddr-policy" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

-- | Set the value of the “@runner-hwaddr-policy@” property to `Nothing`.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.clear' #runnerHwaddrPolicy
-- @
clearSettingTeamRunnerHwaddrPolicy :: (MonadIO m, IsSettingTeam o) => o -> m ()
clearSettingTeamRunnerHwaddrPolicy :: forall (m :: * -> *) o. (MonadIO m, IsSettingTeam o) => o -> m ()
clearSettingTeamRunnerHwaddrPolicy 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
"runner-hwaddr-policy" (Maybe Text
forall a. Maybe a
Nothing :: Maybe T.Text)

#if defined(ENABLE_OVERLOADING)
data SettingTeamRunnerHwaddrPolicyPropertyInfo
instance AttrInfo SettingTeamRunnerHwaddrPolicyPropertyInfo where
    type AttrAllowedOps SettingTeamRunnerHwaddrPolicyPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
    type AttrBaseTypeConstraint SettingTeamRunnerHwaddrPolicyPropertyInfo = IsSettingTeam
    type AttrSetTypeConstraint SettingTeamRunnerHwaddrPolicyPropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint SettingTeamRunnerHwaddrPolicyPropertyInfo = (~) T.Text
    type AttrTransferType SettingTeamRunnerHwaddrPolicyPropertyInfo = T.Text
    type AttrGetType SettingTeamRunnerHwaddrPolicyPropertyInfo = T.Text
    type AttrLabel SettingTeamRunnerHwaddrPolicyPropertyInfo = "runner-hwaddr-policy"
    type AttrOrigin SettingTeamRunnerHwaddrPolicyPropertyInfo = SettingTeam
    attrGet = getSettingTeamRunnerHwaddrPolicy
    attrSet = setSettingTeamRunnerHwaddrPolicy
    attrTransfer _ v = do
        return v
    attrConstruct = constructSettingTeamRunnerHwaddrPolicy
    attrClear = clearSettingTeamRunnerHwaddrPolicy
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.runnerHwaddrPolicy"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#g:attr:runnerHwaddrPolicy"
        })
#endif

-- VVV Prop "runner-min-ports"
   -- Type: TBasicType TInt
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Nothing)

-- | Get the value of the “@runner-min-ports@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' settingTeam #runnerMinPorts
-- @
getSettingTeamRunnerMinPorts :: (MonadIO m, IsSettingTeam o) => o -> m Int32
getSettingTeamRunnerMinPorts :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> m Int32
getSettingTeamRunnerMinPorts 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
"runner-min-ports"

-- | Set the value of the “@runner-min-ports@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' settingTeam [ #runnerMinPorts 'Data.GI.Base.Attributes.:=' value ]
-- @
setSettingTeamRunnerMinPorts :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m ()
setSettingTeamRunnerMinPorts :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> Int32 -> m ()
setSettingTeamRunnerMinPorts 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
"runner-min-ports" Int32
val

-- | Construct a t'GValueConstruct' with valid value for the “@runner-min-ports@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSettingTeamRunnerMinPorts :: (IsSettingTeam o, MIO.MonadIO m) => Int32 -> m (GValueConstruct o)
constructSettingTeamRunnerMinPorts :: forall o (m :: * -> *).
(IsSettingTeam o, MonadIO m) =>
Int32 -> m (GValueConstruct o)
constructSettingTeamRunnerMinPorts 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
"runner-min-ports" Int32
val

#if defined(ENABLE_OVERLOADING)
data SettingTeamRunnerMinPortsPropertyInfo
instance AttrInfo SettingTeamRunnerMinPortsPropertyInfo where
    type AttrAllowedOps SettingTeamRunnerMinPortsPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint SettingTeamRunnerMinPortsPropertyInfo = IsSettingTeam
    type AttrSetTypeConstraint SettingTeamRunnerMinPortsPropertyInfo = (~) Int32
    type AttrTransferTypeConstraint SettingTeamRunnerMinPortsPropertyInfo = (~) Int32
    type AttrTransferType SettingTeamRunnerMinPortsPropertyInfo = Int32
    type AttrGetType SettingTeamRunnerMinPortsPropertyInfo = Int32
    type AttrLabel SettingTeamRunnerMinPortsPropertyInfo = "runner-min-ports"
    type AttrOrigin SettingTeamRunnerMinPortsPropertyInfo = SettingTeam
    attrGet = getSettingTeamRunnerMinPorts
    attrSet = setSettingTeamRunnerMinPorts
    attrTransfer _ v = do
        return v
    attrConstruct = constructSettingTeamRunnerMinPorts
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.runnerMinPorts"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#g:attr:runnerMinPorts"
        })
#endif

-- VVV Prop "runner-sys-prio"
   -- Type: TBasicType TInt
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Nothing)

-- | Get the value of the “@runner-sys-prio@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' settingTeam #runnerSysPrio
-- @
getSettingTeamRunnerSysPrio :: (MonadIO m, IsSettingTeam o) => o -> m Int32
getSettingTeamRunnerSysPrio :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> m Int32
getSettingTeamRunnerSysPrio 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
"runner-sys-prio"

-- | Set the value of the “@runner-sys-prio@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' settingTeam [ #runnerSysPrio 'Data.GI.Base.Attributes.:=' value ]
-- @
setSettingTeamRunnerSysPrio :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m ()
setSettingTeamRunnerSysPrio :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> Int32 -> m ()
setSettingTeamRunnerSysPrio 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
"runner-sys-prio" Int32
val

-- | Construct a t'GValueConstruct' with valid value for the “@runner-sys-prio@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSettingTeamRunnerSysPrio :: (IsSettingTeam o, MIO.MonadIO m) => Int32 -> m (GValueConstruct o)
constructSettingTeamRunnerSysPrio :: forall o (m :: * -> *).
(IsSettingTeam o, MonadIO m) =>
Int32 -> m (GValueConstruct o)
constructSettingTeamRunnerSysPrio 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
"runner-sys-prio" Int32
val

#if defined(ENABLE_OVERLOADING)
data SettingTeamRunnerSysPrioPropertyInfo
instance AttrInfo SettingTeamRunnerSysPrioPropertyInfo where
    type AttrAllowedOps SettingTeamRunnerSysPrioPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint SettingTeamRunnerSysPrioPropertyInfo = IsSettingTeam
    type AttrSetTypeConstraint SettingTeamRunnerSysPrioPropertyInfo = (~) Int32
    type AttrTransferTypeConstraint SettingTeamRunnerSysPrioPropertyInfo = (~) Int32
    type AttrTransferType SettingTeamRunnerSysPrioPropertyInfo = Int32
    type AttrGetType SettingTeamRunnerSysPrioPropertyInfo = Int32
    type AttrLabel SettingTeamRunnerSysPrioPropertyInfo = "runner-sys-prio"
    type AttrOrigin SettingTeamRunnerSysPrioPropertyInfo = SettingTeam
    attrGet = getSettingTeamRunnerSysPrio
    attrSet = setSettingTeamRunnerSysPrio
    attrTransfer _ v = do
        return v
    attrConstruct = constructSettingTeamRunnerSysPrio
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.runnerSysPrio"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#g:attr:runnerSysPrio"
        })
#endif

-- VVV Prop "runner-tx-balancer"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Nothing)

-- | Get the value of the “@runner-tx-balancer@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' settingTeam #runnerTxBalancer
-- @
getSettingTeamRunnerTxBalancer :: (MonadIO m, IsSettingTeam o) => o -> m T.Text
getSettingTeamRunnerTxBalancer :: forall (m :: * -> *) o. (MonadIO m, IsSettingTeam o) => o -> m Text
getSettingTeamRunnerTxBalancer 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
"getSettingTeamRunnerTxBalancer" (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
"runner-tx-balancer"

-- | Set the value of the “@runner-tx-balancer@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' settingTeam [ #runnerTxBalancer 'Data.GI.Base.Attributes.:=' value ]
-- @
setSettingTeamRunnerTxBalancer :: (MonadIO m, IsSettingTeam o) => o -> T.Text -> m ()
setSettingTeamRunnerTxBalancer :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> Text -> m ()
setSettingTeamRunnerTxBalancer 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
"runner-tx-balancer" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)

-- | Construct a t'GValueConstruct' with valid value for the “@runner-tx-balancer@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSettingTeamRunnerTxBalancer :: (IsSettingTeam o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructSettingTeamRunnerTxBalancer :: forall o (m :: * -> *).
(IsSettingTeam o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructSettingTeamRunnerTxBalancer 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
"runner-tx-balancer" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

-- | Set the value of the “@runner-tx-balancer@” property to `Nothing`.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.clear' #runnerTxBalancer
-- @
clearSettingTeamRunnerTxBalancer :: (MonadIO m, IsSettingTeam o) => o -> m ()
clearSettingTeamRunnerTxBalancer :: forall (m :: * -> *) o. (MonadIO m, IsSettingTeam o) => o -> m ()
clearSettingTeamRunnerTxBalancer 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
"runner-tx-balancer" (Maybe Text
forall a. Maybe a
Nothing :: Maybe T.Text)

#if defined(ENABLE_OVERLOADING)
data SettingTeamRunnerTxBalancerPropertyInfo
instance AttrInfo SettingTeamRunnerTxBalancerPropertyInfo where
    type AttrAllowedOps SettingTeamRunnerTxBalancerPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
    type AttrBaseTypeConstraint SettingTeamRunnerTxBalancerPropertyInfo = IsSettingTeam
    type AttrSetTypeConstraint SettingTeamRunnerTxBalancerPropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint SettingTeamRunnerTxBalancerPropertyInfo = (~) T.Text
    type AttrTransferType SettingTeamRunnerTxBalancerPropertyInfo = T.Text
    type AttrGetType SettingTeamRunnerTxBalancerPropertyInfo = T.Text
    type AttrLabel SettingTeamRunnerTxBalancerPropertyInfo = "runner-tx-balancer"
    type AttrOrigin SettingTeamRunnerTxBalancerPropertyInfo = SettingTeam
    attrGet = getSettingTeamRunnerTxBalancer
    attrSet = setSettingTeamRunnerTxBalancer
    attrTransfer _ v = do
        return v
    attrConstruct = constructSettingTeamRunnerTxBalancer
    attrClear = clearSettingTeamRunnerTxBalancer
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.runnerTxBalancer"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#g:attr:runnerTxBalancer"
        })
#endif

-- VVV Prop "runner-tx-balancer-interval"
   -- Type: TBasicType TInt
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Nothing)

-- | Get the value of the “@runner-tx-balancer-interval@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' settingTeam #runnerTxBalancerInterval
-- @
getSettingTeamRunnerTxBalancerInterval :: (MonadIO m, IsSettingTeam o) => o -> m Int32
getSettingTeamRunnerTxBalancerInterval :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> m Int32
getSettingTeamRunnerTxBalancerInterval 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
"runner-tx-balancer-interval"

-- | Set the value of the “@runner-tx-balancer-interval@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' settingTeam [ #runnerTxBalancerInterval 'Data.GI.Base.Attributes.:=' value ]
-- @
setSettingTeamRunnerTxBalancerInterval :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m ()
setSettingTeamRunnerTxBalancerInterval :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> Int32 -> m ()
setSettingTeamRunnerTxBalancerInterval 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
"runner-tx-balancer-interval" Int32
val

-- | Construct a t'GValueConstruct' with valid value for the “@runner-tx-balancer-interval@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSettingTeamRunnerTxBalancerInterval :: (IsSettingTeam o, MIO.MonadIO m) => Int32 -> m (GValueConstruct o)
constructSettingTeamRunnerTxBalancerInterval :: forall o (m :: * -> *).
(IsSettingTeam o, MonadIO m) =>
Int32 -> m (GValueConstruct o)
constructSettingTeamRunnerTxBalancerInterval 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
"runner-tx-balancer-interval" Int32
val

#if defined(ENABLE_OVERLOADING)
data SettingTeamRunnerTxBalancerIntervalPropertyInfo
instance AttrInfo SettingTeamRunnerTxBalancerIntervalPropertyInfo where
    type AttrAllowedOps SettingTeamRunnerTxBalancerIntervalPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint SettingTeamRunnerTxBalancerIntervalPropertyInfo = IsSettingTeam
    type AttrSetTypeConstraint SettingTeamRunnerTxBalancerIntervalPropertyInfo = (~) Int32
    type AttrTransferTypeConstraint SettingTeamRunnerTxBalancerIntervalPropertyInfo = (~) Int32
    type AttrTransferType SettingTeamRunnerTxBalancerIntervalPropertyInfo = Int32
    type AttrGetType SettingTeamRunnerTxBalancerIntervalPropertyInfo = Int32
    type AttrLabel SettingTeamRunnerTxBalancerIntervalPropertyInfo = "runner-tx-balancer-interval"
    type AttrOrigin SettingTeamRunnerTxBalancerIntervalPropertyInfo = SettingTeam
    attrGet = getSettingTeamRunnerTxBalancerInterval
    attrSet = setSettingTeamRunnerTxBalancerInterval
    attrTransfer _ v = do
        return v
    attrConstruct = constructSettingTeamRunnerTxBalancerInterval
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.runnerTxBalancerInterval"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#g:attr:runnerTxBalancerInterval"
        })
#endif

-- VVV Prop "runner-tx-hash"
   -- Type: TCArray True (-1) (-1) (TBasicType TUTF8)
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Nothing,Nothing)

-- | Get the value of the “@runner-tx-hash@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' settingTeam #runnerTxHash
-- @
getSettingTeamRunnerTxHash :: (MonadIO m, IsSettingTeam o) => o -> m (Maybe [T.Text])
getSettingTeamRunnerTxHash :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> m (Maybe [Text])
getSettingTeamRunnerTxHash o
obj = IO (Maybe [Text]) -> m (Maybe [Text])
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe [Text]) -> m (Maybe [Text]))
-> IO (Maybe [Text]) -> m (Maybe [Text])
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe [Text])
forall a. GObject a => a -> String -> IO (Maybe [Text])
B.Properties.getObjectPropertyStringArray o
obj String
"runner-tx-hash"

-- | Set the value of the “@runner-tx-hash@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' settingTeam [ #runnerTxHash 'Data.GI.Base.Attributes.:=' value ]
-- @
setSettingTeamRunnerTxHash :: (MonadIO m, IsSettingTeam o) => o -> [T.Text] -> m ()
setSettingTeamRunnerTxHash :: forall (m :: * -> *) o.
(MonadIO m, IsSettingTeam o) =>
o -> [Text] -> m ()
setSettingTeamRunnerTxHash 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.setObjectPropertyStringArray o
obj String
"runner-tx-hash" ([Text] -> Maybe [Text]
forall a. a -> Maybe a
Just [Text]
val)

-- | Construct a t'GValueConstruct' with valid value for the “@runner-tx-hash@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSettingTeamRunnerTxHash :: (IsSettingTeam o, MIO.MonadIO m) => [T.Text] -> m (GValueConstruct o)
constructSettingTeamRunnerTxHash :: forall o (m :: * -> *).
(IsSettingTeam o, MonadIO m) =>
[Text] -> m (GValueConstruct o)
constructSettingTeamRunnerTxHash [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.constructObjectPropertyStringArray String
"runner-tx-hash" ([Text] -> Maybe [Text]
forall a. a -> Maybe a
P.Just [Text]
val)

-- | Set the value of the “@runner-tx-hash@” property to `Nothing`.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.clear' #runnerTxHash
-- @
clearSettingTeamRunnerTxHash :: (MonadIO m, IsSettingTeam o) => o -> m ()
clearSettingTeamRunnerTxHash :: forall (m :: * -> *) o. (MonadIO m, IsSettingTeam o) => o -> m ()
clearSettingTeamRunnerTxHash 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.setObjectPropertyStringArray o
obj String
"runner-tx-hash" (Maybe [Text]
forall a. Maybe a
Nothing :: Maybe [T.Text])

#if defined(ENABLE_OVERLOADING)
data SettingTeamRunnerTxHashPropertyInfo
instance AttrInfo SettingTeamRunnerTxHashPropertyInfo where
    type AttrAllowedOps SettingTeamRunnerTxHashPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
    type AttrBaseTypeConstraint SettingTeamRunnerTxHashPropertyInfo = IsSettingTeam
    type AttrSetTypeConstraint SettingTeamRunnerTxHashPropertyInfo = (~) [T.Text]
    type AttrTransferTypeConstraint SettingTeamRunnerTxHashPropertyInfo = (~) [T.Text]
    type AttrTransferType SettingTeamRunnerTxHashPropertyInfo = [T.Text]
    type AttrGetType SettingTeamRunnerTxHashPropertyInfo = (Maybe [T.Text])
    type AttrLabel SettingTeamRunnerTxHashPropertyInfo = "runner-tx-hash"
    type AttrOrigin SettingTeamRunnerTxHashPropertyInfo = SettingTeam
    attrGet = getSettingTeamRunnerTxHash
    attrSet = setSettingTeamRunnerTxHash
    attrTransfer _ v = do
        return v
    attrConstruct = constructSettingTeamRunnerTxHash
    attrClear = clearSettingTeamRunnerTxHash
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.runnerTxHash"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#g:attr:runnerTxHash"
        })
#endif

#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList SettingTeam
type instance O.AttributeList SettingTeam = SettingTeamAttributeList
type SettingTeamAttributeList = ('[ '("config", SettingTeamConfigPropertyInfo), '("linkWatchers", SettingTeamLinkWatchersPropertyInfo), '("mcastRejoinCount", SettingTeamMcastRejoinCountPropertyInfo), '("mcastRejoinInterval", SettingTeamMcastRejoinIntervalPropertyInfo), '("name", NM.Setting.SettingNamePropertyInfo), '("notifyPeersCount", SettingTeamNotifyPeersCountPropertyInfo), '("notifyPeersInterval", SettingTeamNotifyPeersIntervalPropertyInfo), '("runner", SettingTeamRunnerPropertyInfo), '("runnerActive", SettingTeamRunnerActivePropertyInfo), '("runnerAggSelectPolicy", SettingTeamRunnerAggSelectPolicyPropertyInfo), '("runnerFastRate", SettingTeamRunnerFastRatePropertyInfo), '("runnerHwaddrPolicy", SettingTeamRunnerHwaddrPolicyPropertyInfo), '("runnerMinPorts", SettingTeamRunnerMinPortsPropertyInfo), '("runnerSysPrio", SettingTeamRunnerSysPrioPropertyInfo), '("runnerTxBalancer", SettingTeamRunnerTxBalancerPropertyInfo), '("runnerTxBalancerInterval", SettingTeamRunnerTxBalancerIntervalPropertyInfo), '("runnerTxHash", SettingTeamRunnerTxHashPropertyInfo)] :: [(Symbol, DK.Type)])
#endif

#if defined(ENABLE_OVERLOADING)
settingTeamConfig :: AttrLabelProxy "config"
settingTeamConfig = AttrLabelProxy

settingTeamLinkWatchers :: AttrLabelProxy "linkWatchers"
settingTeamLinkWatchers = AttrLabelProxy

settingTeamMcastRejoinCount :: AttrLabelProxy "mcastRejoinCount"
settingTeamMcastRejoinCount = AttrLabelProxy

settingTeamMcastRejoinInterval :: AttrLabelProxy "mcastRejoinInterval"
settingTeamMcastRejoinInterval = AttrLabelProxy

settingTeamNotifyPeersCount :: AttrLabelProxy "notifyPeersCount"
settingTeamNotifyPeersCount = AttrLabelProxy

settingTeamNotifyPeersInterval :: AttrLabelProxy "notifyPeersInterval"
settingTeamNotifyPeersInterval = AttrLabelProxy

settingTeamRunner :: AttrLabelProxy "runner"
settingTeamRunner = AttrLabelProxy

settingTeamRunnerActive :: AttrLabelProxy "runnerActive"
settingTeamRunnerActive = AttrLabelProxy

settingTeamRunnerAggSelectPolicy :: AttrLabelProxy "runnerAggSelectPolicy"
settingTeamRunnerAggSelectPolicy = AttrLabelProxy

settingTeamRunnerFastRate :: AttrLabelProxy "runnerFastRate"
settingTeamRunnerFastRate = AttrLabelProxy

settingTeamRunnerHwaddrPolicy :: AttrLabelProxy "runnerHwaddrPolicy"
settingTeamRunnerHwaddrPolicy = AttrLabelProxy

settingTeamRunnerMinPorts :: AttrLabelProxy "runnerMinPorts"
settingTeamRunnerMinPorts = AttrLabelProxy

settingTeamRunnerSysPrio :: AttrLabelProxy "runnerSysPrio"
settingTeamRunnerSysPrio = AttrLabelProxy

settingTeamRunnerTxBalancer :: AttrLabelProxy "runnerTxBalancer"
settingTeamRunnerTxBalancer = AttrLabelProxy

settingTeamRunnerTxBalancerInterval :: AttrLabelProxy "runnerTxBalancerInterval"
settingTeamRunnerTxBalancerInterval = AttrLabelProxy

settingTeamRunnerTxHash :: AttrLabelProxy "runnerTxHash"
settingTeamRunnerTxHash = AttrLabelProxy

#endif

#if defined(ENABLE_OVERLOADING)
type instance O.SignalList SettingTeam = SettingTeamSignalList
type SettingTeamSignalList = ('[ '("notify", GObject.Object.ObjectNotifySignalInfo)] :: [(Symbol, DK.Type)])

#endif

-- method SettingTeam::new
-- method type : Constructor
-- Args: []
-- Lengths: []
-- returnType: Just (TInterface Name { namespace = "NM" , name = "SettingTeam" })
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_new" nm_setting_team_new :: 
    IO (Ptr SettingTeam)

-- | Creates a new t'GI.NM.Objects.SettingTeam.SettingTeam' object with default values.
settingTeamNew ::
    (B.CallStack.HasCallStack, MonadIO m) =>
    m SettingTeam
    -- ^ __Returns:__ the new empty t'GI.NM.Objects.SettingTeam.SettingTeam' object
settingTeamNew :: forall (m :: * -> *). (HasCallStack, MonadIO m) => m SettingTeam
settingTeamNew  = IO SettingTeam -> m SettingTeam
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SettingTeam -> m SettingTeam)
-> IO SettingTeam -> m SettingTeam
forall a b. (a -> b) -> a -> b
$ do
    Ptr SettingTeam
result <- IO (Ptr SettingTeam)
nm_setting_team_new
    Text -> Ptr SettingTeam -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"settingTeamNew" Ptr SettingTeam
result
    SettingTeam
result' <- ((ManagedPtr SettingTeam -> SettingTeam)
-> Ptr SettingTeam -> IO SettingTeam
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
wrapObject ManagedPtr SettingTeam -> SettingTeam
SettingTeam) Ptr SettingTeam
result
    SettingTeam -> IO SettingTeam
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return SettingTeam
result'

#if defined(ENABLE_OVERLOADING)
#endif

-- method SettingTeam::add_link_watcher
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "link_watcher"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "TeamLinkWatcher" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the link watcher to add"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TBoolean)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_add_link_watcher" nm_setting_team_add_link_watcher :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    Ptr NM.TeamLinkWatcher.TeamLinkWatcher -> -- link_watcher : TInterface (Name {namespace = "NM", name = "TeamLinkWatcher"})
    IO CInt

-- | Appends a new link watcher to the setting.
-- 
-- /Since: 1.12/
settingTeamAddLinkWatcher ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> NM.TeamLinkWatcher.TeamLinkWatcher
    -- ^ /@linkWatcher@/: the link watcher to add
    -> m Bool
    -- ^ __Returns:__ 'P.True' if the link watcher is added; 'P.False' if an identical link
    -- watcher was already there.
settingTeamAddLinkWatcher :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> TeamLinkWatcher -> m Bool
settingTeamAddLinkWatcher a
setting TeamLinkWatcher
linkWatcher = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
    Ptr SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    Ptr TeamLinkWatcher
linkWatcher' <- TeamLinkWatcher -> IO (Ptr TeamLinkWatcher)
forall a. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a)
unsafeManagedPtrGetPtr TeamLinkWatcher
linkWatcher
    CInt
result <- Ptr SettingTeam -> Ptr TeamLinkWatcher -> IO CInt
nm_setting_team_add_link_watcher Ptr SettingTeam
setting' Ptr TeamLinkWatcher
linkWatcher'
    let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
setting
    TeamLinkWatcher -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr TeamLinkWatcher
linkWatcher
    Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'

#if defined(ENABLE_OVERLOADING)
data SettingTeamAddLinkWatcherMethodInfo
instance (signature ~ (NM.TeamLinkWatcher.TeamLinkWatcher -> m Bool), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamAddLinkWatcherMethodInfo a signature where
    overloadedMethod = settingTeamAddLinkWatcher

instance O.OverloadedMethodInfo SettingTeamAddLinkWatcherMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamAddLinkWatcher",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamAddLinkWatcher"
        })


#endif

-- method SettingTeam::add_runner_tx_hash
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "txhash"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the element to add to txhash"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TBoolean)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_add_runner_tx_hash" nm_setting_team_add_runner_tx_hash :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    CString ->                              -- txhash : TBasicType TUTF8
    IO CInt

-- | Adds a new txhash element to the setting.
-- 
-- /Since: 1.12/
settingTeamAddRunnerTxHash ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> T.Text
    -- ^ /@txhash@/: the element to add to txhash
    -> m Bool
    -- ^ __Returns:__ 'P.True' if the txhash element was added; 'P.False' if the element
    -- was already knnown.
settingTeamAddRunnerTxHash :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> Text -> m Bool
settingTeamAddRunnerTxHash a
setting Text
txhash = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
    Ptr SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    CString
txhash' <- Text -> IO CString
textToCString Text
txhash
    CInt
result <- Ptr SettingTeam -> CString -> IO CInt
nm_setting_team_add_runner_tx_hash Ptr SettingTeam
setting' CString
txhash'
    let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
setting
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
txhash'
    Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'

#if defined(ENABLE_OVERLOADING)
data SettingTeamAddRunnerTxHashMethodInfo
instance (signature ~ (T.Text -> m Bool), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamAddRunnerTxHashMethodInfo a signature where
    overloadedMethod = settingTeamAddRunnerTxHash

instance O.OverloadedMethodInfo SettingTeamAddRunnerTxHashMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamAddRunnerTxHash",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamAddRunnerTxHash"
        })


#endif

-- method SettingTeam::clear_link_watchers
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_clear_link_watchers" nm_setting_team_clear_link_watchers :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    IO ()

-- | Removes all configured link watchers.
-- 
-- /Since: 1.12/
settingTeamClearLinkWatchers ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> m ()
settingTeamClearLinkWatchers :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> m ()
settingTeamClearLinkWatchers a
setting = 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
$ do
    Ptr SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    Ptr SettingTeam -> IO ()
nm_setting_team_clear_link_watchers Ptr SettingTeam
setting'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
setting
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data SettingTeamClearLinkWatchersMethodInfo
instance (signature ~ (m ()), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamClearLinkWatchersMethodInfo a signature where
    overloadedMethod = settingTeamClearLinkWatchers

instance O.OverloadedMethodInfo SettingTeamClearLinkWatchersMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamClearLinkWatchers",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamClearLinkWatchers"
        })


#endif

-- method SettingTeam::get_config
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_get_config" nm_setting_team_get_config :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    IO CString

-- | /No description available in the introspection data./
settingTeamGetConfig ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> m T.Text
    -- ^ __Returns:__ the [SettingTeam:config]("GI.NM.Objects.SettingTeam#g:attr:config") property of the setting
settingTeamGetConfig :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> m Text
settingTeamGetConfig 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 SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    CString
result <- Ptr SettingTeam -> IO CString
nm_setting_team_get_config Ptr SettingTeam
setting'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"settingTeamGetConfig" 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 SettingTeamGetConfigMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamGetConfigMethodInfo a signature where
    overloadedMethod = settingTeamGetConfig

instance O.OverloadedMethodInfo SettingTeamGetConfigMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamGetConfig",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamGetConfig"
        })


#endif

-- method SettingTeam::get_link_watcher
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "idx"
--           , argType = TBasicType TUInt
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "index number of the link watcher to return"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just
--               (TInterface Name { namespace = "NM" , name = "TeamLinkWatcher" })
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_get_link_watcher" nm_setting_team_get_link_watcher :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    Word32 ->                               -- idx : TBasicType TUInt
    IO (Ptr NM.TeamLinkWatcher.TeamLinkWatcher)

-- | /No description available in the introspection data./
-- 
-- /Since: 1.12/
settingTeamGetLinkWatcher ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> Word32
    -- ^ /@idx@/: index number of the link watcher to return
    -> m NM.TeamLinkWatcher.TeamLinkWatcher
    -- ^ __Returns:__ the link watcher at index /@idx@/.
settingTeamGetLinkWatcher :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> Word32 -> m TeamLinkWatcher
settingTeamGetLinkWatcher a
setting Word32
idx = IO TeamLinkWatcher -> m TeamLinkWatcher
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO TeamLinkWatcher -> m TeamLinkWatcher)
-> IO TeamLinkWatcher -> m TeamLinkWatcher
forall a b. (a -> b) -> a -> b
$ do
    Ptr SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    Ptr TeamLinkWatcher
result <- Ptr SettingTeam -> Word32 -> IO (Ptr TeamLinkWatcher)
nm_setting_team_get_link_watcher Ptr SettingTeam
setting' Word32
idx
    Text -> Ptr TeamLinkWatcher -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"settingTeamGetLinkWatcher" Ptr TeamLinkWatcher
result
    TeamLinkWatcher
result' <- ((ManagedPtr TeamLinkWatcher -> TeamLinkWatcher)
-> Ptr TeamLinkWatcher -> IO TeamLinkWatcher
forall a.
(HasCallStack, GBoxed a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
newBoxed ManagedPtr TeamLinkWatcher -> TeamLinkWatcher
NM.TeamLinkWatcher.TeamLinkWatcher) Ptr TeamLinkWatcher
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
setting
    TeamLinkWatcher -> IO TeamLinkWatcher
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return TeamLinkWatcher
result'

#if defined(ENABLE_OVERLOADING)
data SettingTeamGetLinkWatcherMethodInfo
instance (signature ~ (Word32 -> m NM.TeamLinkWatcher.TeamLinkWatcher), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamGetLinkWatcherMethodInfo a signature where
    overloadedMethod = settingTeamGetLinkWatcher

instance O.OverloadedMethodInfo SettingTeamGetLinkWatcherMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamGetLinkWatcher",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamGetLinkWatcher"
        })


#endif

-- method SettingTeam::get_mcast_rejoin_count
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TInt)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_get_mcast_rejoin_count" nm_setting_team_get_mcast_rejoin_count :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    IO Int32

-- | /No description available in the introspection data./
-- 
-- /Since: 1.12/
settingTeamGetMcastRejoinCount ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> m Int32
    -- ^ __Returns:__ the #[SettingTeam:mcastRejoinCount]("GI.NM.Objects.SettingTeam#g:attr:mcastRejoinCount") property of the setting
settingTeamGetMcastRejoinCount :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> m Int32
settingTeamGetMcastRejoinCount 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 SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    Int32
result <- Ptr SettingTeam -> IO Int32
nm_setting_team_get_mcast_rejoin_count Ptr SettingTeam
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 SettingTeamGetMcastRejoinCountMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamGetMcastRejoinCountMethodInfo a signature where
    overloadedMethod = settingTeamGetMcastRejoinCount

instance O.OverloadedMethodInfo SettingTeamGetMcastRejoinCountMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamGetMcastRejoinCount",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamGetMcastRejoinCount"
        })


#endif

-- method SettingTeam::get_mcast_rejoin_interval
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TInt)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_get_mcast_rejoin_interval" nm_setting_team_get_mcast_rejoin_interval :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    IO Int32

-- | /No description available in the introspection data./
-- 
-- /Since: 1.12/
settingTeamGetMcastRejoinInterval ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> m Int32
    -- ^ __Returns:__ the #[SettingTeam:mcastRejoinInterval]("GI.NM.Objects.SettingTeam#g:attr:mcastRejoinInterval") property of the setting
settingTeamGetMcastRejoinInterval :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> m Int32
settingTeamGetMcastRejoinInterval 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 SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    Int32
result <- Ptr SettingTeam -> IO Int32
nm_setting_team_get_mcast_rejoin_interval Ptr SettingTeam
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 SettingTeamGetMcastRejoinIntervalMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamGetMcastRejoinIntervalMethodInfo a signature where
    overloadedMethod = settingTeamGetMcastRejoinInterval

instance O.OverloadedMethodInfo SettingTeamGetMcastRejoinIntervalMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamGetMcastRejoinInterval",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamGetMcastRejoinInterval"
        })


#endif

-- method SettingTeam::get_notify_peers_count
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TInt)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_get_notify_peers_count" nm_setting_team_get_notify_peers_count :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    IO Int32

-- | /No description available in the introspection data./
-- 
-- /Since: 1.12/
settingTeamGetNotifyPeersCount ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> m Int32
    -- ^ __Returns:__ the #[SettingTeam:notifyPeersCount]("GI.NM.Objects.SettingTeam#g:attr:notifyPeersCount") property of the setting
settingTeamGetNotifyPeersCount :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> m Int32
settingTeamGetNotifyPeersCount 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 SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    Int32
result <- Ptr SettingTeam -> IO Int32
nm_setting_team_get_notify_peers_count Ptr SettingTeam
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 SettingTeamGetNotifyPeersCountMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamGetNotifyPeersCountMethodInfo a signature where
    overloadedMethod = settingTeamGetNotifyPeersCount

instance O.OverloadedMethodInfo SettingTeamGetNotifyPeersCountMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamGetNotifyPeersCount",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamGetNotifyPeersCount"
        })


#endif

-- method SettingTeam::get_notify_peers_interval
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TInt)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_get_notify_peers_interval" nm_setting_team_get_notify_peers_interval :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    IO Int32

-- | /No description available in the introspection data./
-- 
-- /Since: 1.12/
settingTeamGetNotifyPeersInterval ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> m Int32
    -- ^ __Returns:__ the #[SettingTeam:notifyPeersInterval]("GI.NM.Objects.SettingTeam#g:attr:notifyPeersInterval") property of the setting
settingTeamGetNotifyPeersInterval :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> m Int32
settingTeamGetNotifyPeersInterval 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 SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    Int32
result <- Ptr SettingTeam -> IO Int32
nm_setting_team_get_notify_peers_interval Ptr SettingTeam
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 SettingTeamGetNotifyPeersIntervalMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamGetNotifyPeersIntervalMethodInfo a signature where
    overloadedMethod = settingTeamGetNotifyPeersInterval

instance O.OverloadedMethodInfo SettingTeamGetNotifyPeersIntervalMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamGetNotifyPeersInterval",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamGetNotifyPeersInterval"
        })


#endif

-- method SettingTeam::get_num_link_watchers
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUInt)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_get_num_link_watchers" nm_setting_team_get_num_link_watchers :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    IO Word32

-- | /No description available in the introspection data./
-- 
-- /Since: 1.12/
settingTeamGetNumLinkWatchers ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> m Word32
    -- ^ __Returns:__ the number of configured link watchers
settingTeamGetNumLinkWatchers :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> m Word32
settingTeamGetNumLinkWatchers 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 SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    Word32
result <- Ptr SettingTeam -> IO Word32
nm_setting_team_get_num_link_watchers Ptr SettingTeam
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 SettingTeamGetNumLinkWatchersMethodInfo
instance (signature ~ (m Word32), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamGetNumLinkWatchersMethodInfo a signature where
    overloadedMethod = settingTeamGetNumLinkWatchers

instance O.OverloadedMethodInfo SettingTeamGetNumLinkWatchersMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamGetNumLinkWatchers",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamGetNumLinkWatchers"
        })


#endif

-- method SettingTeam::get_num_runner_tx_hash
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUInt)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_get_num_runner_tx_hash" nm_setting_team_get_num_runner_tx_hash :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    IO Word32

-- | /No description available in the introspection data./
-- 
-- /Since: 1.12/
settingTeamGetNumRunnerTxHash ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> m Word32
    -- ^ __Returns:__ the number of elements in txhash
settingTeamGetNumRunnerTxHash :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> m Word32
settingTeamGetNumRunnerTxHash 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 SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    Word32
result <- Ptr SettingTeam -> IO Word32
nm_setting_team_get_num_runner_tx_hash Ptr SettingTeam
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 SettingTeamGetNumRunnerTxHashMethodInfo
instance (signature ~ (m Word32), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamGetNumRunnerTxHashMethodInfo a signature where
    overloadedMethod = settingTeamGetNumRunnerTxHash

instance O.OverloadedMethodInfo SettingTeamGetNumRunnerTxHashMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamGetNumRunnerTxHash",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamGetNumRunnerTxHash"
        })


#endif

-- method SettingTeam::get_runner
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_get_runner" nm_setting_team_get_runner :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    IO CString

-- | /No description available in the introspection data./
-- 
-- /Since: 1.12/
settingTeamGetRunner ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> m T.Text
    -- ^ __Returns:__ the #[SettingTeam:runner]("GI.NM.Objects.SettingTeam#g:attr:runner") property of the setting
settingTeamGetRunner :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> m Text
settingTeamGetRunner 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 SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    CString
result <- Ptr SettingTeam -> IO CString
nm_setting_team_get_runner Ptr SettingTeam
setting'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"settingTeamGetRunner" 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 SettingTeamGetRunnerMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamGetRunnerMethodInfo a signature where
    overloadedMethod = settingTeamGetRunner

instance O.OverloadedMethodInfo SettingTeamGetRunnerMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamGetRunner",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamGetRunner"
        })


#endif

-- method SettingTeam::get_runner_active
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TBoolean)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_get_runner_active" nm_setting_team_get_runner_active :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    IO CInt

-- | /No description available in the introspection data./
-- 
-- /Since: 1.12/
settingTeamGetRunnerActive ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> m Bool
    -- ^ __Returns:__ the #t'GI.NM.Objects.SettingTeam.SettingTeam':@/runner_active/@ property of the setting
settingTeamGetRunnerActive :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> m Bool
settingTeamGetRunnerActive a
setting = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
    Ptr SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    CInt
result <- Ptr SettingTeam -> IO CInt
nm_setting_team_get_runner_active Ptr SettingTeam
setting'
    let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
setting
    Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'

#if defined(ENABLE_OVERLOADING)
data SettingTeamGetRunnerActiveMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamGetRunnerActiveMethodInfo a signature where
    overloadedMethod = settingTeamGetRunnerActive

instance O.OverloadedMethodInfo SettingTeamGetRunnerActiveMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamGetRunnerActive",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamGetRunnerActive"
        })


#endif

-- method SettingTeam::get_runner_agg_select_policy
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_get_runner_agg_select_policy" nm_setting_team_get_runner_agg_select_policy :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    IO CString

-- | /No description available in the introspection data./
-- 
-- /Since: 1.12/
settingTeamGetRunnerAggSelectPolicy ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> m T.Text
    -- ^ __Returns:__ the #[SettingTeam:runnerAggSelectPolicy]("GI.NM.Objects.SettingTeam#g:attr:runnerAggSelectPolicy") property of the setting
settingTeamGetRunnerAggSelectPolicy :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> m Text
settingTeamGetRunnerAggSelectPolicy 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 SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    CString
result <- Ptr SettingTeam -> IO CString
nm_setting_team_get_runner_agg_select_policy Ptr SettingTeam
setting'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"settingTeamGetRunnerAggSelectPolicy" 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 SettingTeamGetRunnerAggSelectPolicyMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamGetRunnerAggSelectPolicyMethodInfo a signature where
    overloadedMethod = settingTeamGetRunnerAggSelectPolicy

instance O.OverloadedMethodInfo SettingTeamGetRunnerAggSelectPolicyMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamGetRunnerAggSelectPolicy",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamGetRunnerAggSelectPolicy"
        })


#endif

-- method SettingTeam::get_runner_fast_rate
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TBoolean)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_get_runner_fast_rate" nm_setting_team_get_runner_fast_rate :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    IO CInt

-- | /No description available in the introspection data./
-- 
-- /Since: 1.12/
settingTeamGetRunnerFastRate ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> m Bool
    -- ^ __Returns:__ the #[SettingTeam:runnerFastRate]("GI.NM.Objects.SettingTeam#g:attr:runnerFastRate") property of the setting
settingTeamGetRunnerFastRate :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> m Bool
settingTeamGetRunnerFastRate a
setting = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
    Ptr SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    CInt
result <- Ptr SettingTeam -> IO CInt
nm_setting_team_get_runner_fast_rate Ptr SettingTeam
setting'
    let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
setting
    Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'

#if defined(ENABLE_OVERLOADING)
data SettingTeamGetRunnerFastRateMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamGetRunnerFastRateMethodInfo a signature where
    overloadedMethod = settingTeamGetRunnerFastRate

instance O.OverloadedMethodInfo SettingTeamGetRunnerFastRateMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamGetRunnerFastRate",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamGetRunnerFastRate"
        })


#endif

-- method SettingTeam::get_runner_hwaddr_policy
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_get_runner_hwaddr_policy" nm_setting_team_get_runner_hwaddr_policy :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    IO CString

-- | /No description available in the introspection data./
-- 
-- /Since: 1.12/
settingTeamGetRunnerHwaddrPolicy ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> m T.Text
    -- ^ __Returns:__ the #[SettingTeam:runnerHwaddrPolicy]("GI.NM.Objects.SettingTeam#g:attr:runnerHwaddrPolicy") property of the setting
settingTeamGetRunnerHwaddrPolicy :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> m Text
settingTeamGetRunnerHwaddrPolicy 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 SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    CString
result <- Ptr SettingTeam -> IO CString
nm_setting_team_get_runner_hwaddr_policy Ptr SettingTeam
setting'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"settingTeamGetRunnerHwaddrPolicy" 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 SettingTeamGetRunnerHwaddrPolicyMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamGetRunnerHwaddrPolicyMethodInfo a signature where
    overloadedMethod = settingTeamGetRunnerHwaddrPolicy

instance O.OverloadedMethodInfo SettingTeamGetRunnerHwaddrPolicyMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamGetRunnerHwaddrPolicy",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamGetRunnerHwaddrPolicy"
        })


#endif

-- method SettingTeam::get_runner_min_ports
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TInt)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_get_runner_min_ports" nm_setting_team_get_runner_min_ports :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    IO Int32

-- | /No description available in the introspection data./
-- 
-- /Since: 1.12/
settingTeamGetRunnerMinPorts ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> m Int32
    -- ^ __Returns:__ the #[SettingTeam:runnerMinPorts]("GI.NM.Objects.SettingTeam#g:attr:runnerMinPorts") property of the setting
settingTeamGetRunnerMinPorts :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> m Int32
settingTeamGetRunnerMinPorts 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 SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    Int32
result <- Ptr SettingTeam -> IO Int32
nm_setting_team_get_runner_min_ports Ptr SettingTeam
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 SettingTeamGetRunnerMinPortsMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamGetRunnerMinPortsMethodInfo a signature where
    overloadedMethod = settingTeamGetRunnerMinPorts

instance O.OverloadedMethodInfo SettingTeamGetRunnerMinPortsMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamGetRunnerMinPorts",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamGetRunnerMinPorts"
        })


#endif

-- method SettingTeam::get_runner_sys_prio
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TInt)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_get_runner_sys_prio" nm_setting_team_get_runner_sys_prio :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    IO Int32

-- | /No description available in the introspection data./
-- 
-- /Since: 1.12/
settingTeamGetRunnerSysPrio ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> m Int32
    -- ^ __Returns:__ the #[SettingTeam:runnerSysPrio]("GI.NM.Objects.SettingTeam#g:attr:runnerSysPrio") property of the setting
settingTeamGetRunnerSysPrio :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> m Int32
settingTeamGetRunnerSysPrio 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 SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    Int32
result <- Ptr SettingTeam -> IO Int32
nm_setting_team_get_runner_sys_prio Ptr SettingTeam
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 SettingTeamGetRunnerSysPrioMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamGetRunnerSysPrioMethodInfo a signature where
    overloadedMethod = settingTeamGetRunnerSysPrio

instance O.OverloadedMethodInfo SettingTeamGetRunnerSysPrioMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamGetRunnerSysPrio",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamGetRunnerSysPrio"
        })


#endif

-- method SettingTeam::get_runner_tx_balancer
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_get_runner_tx_balancer" nm_setting_team_get_runner_tx_balancer :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    IO CString

-- | /No description available in the introspection data./
-- 
-- /Since: 1.12/
settingTeamGetRunnerTxBalancer ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> m T.Text
    -- ^ __Returns:__ the #[SettingTeam:runnerTxBalancer]("GI.NM.Objects.SettingTeam#g:attr:runnerTxBalancer") property of the setting
settingTeamGetRunnerTxBalancer :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> m Text
settingTeamGetRunnerTxBalancer 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 SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    CString
result <- Ptr SettingTeam -> IO CString
nm_setting_team_get_runner_tx_balancer Ptr SettingTeam
setting'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"settingTeamGetRunnerTxBalancer" 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 SettingTeamGetRunnerTxBalancerMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamGetRunnerTxBalancerMethodInfo a signature where
    overloadedMethod = settingTeamGetRunnerTxBalancer

instance O.OverloadedMethodInfo SettingTeamGetRunnerTxBalancerMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamGetRunnerTxBalancer",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamGetRunnerTxBalancer"
        })


#endif

-- method SettingTeam::get_runner_tx_balancer_interval
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TInt)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_get_runner_tx_balancer_interval" nm_setting_team_get_runner_tx_balancer_interval :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    IO Int32

-- | /No description available in the introspection data./
-- 
-- /Since: 1.12/
settingTeamGetRunnerTxBalancerInterval ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> m Int32
    -- ^ __Returns:__ the #t'GI.NM.Objects.SettingTeam.SettingTeam':@/runner-tx-balancer_interval/@ property of the setting
settingTeamGetRunnerTxBalancerInterval :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> m Int32
settingTeamGetRunnerTxBalancerInterval 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 SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    Int32
result <- Ptr SettingTeam -> IO Int32
nm_setting_team_get_runner_tx_balancer_interval Ptr SettingTeam
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 SettingTeamGetRunnerTxBalancerIntervalMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamGetRunnerTxBalancerIntervalMethodInfo a signature where
    overloadedMethod = settingTeamGetRunnerTxBalancerInterval

instance O.OverloadedMethodInfo SettingTeamGetRunnerTxBalancerIntervalMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamGetRunnerTxBalancerInterval",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamGetRunnerTxBalancerInterval"
        })


#endif

-- method SettingTeam::get_runner_tx_hash
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "idx"
--           , argType = TBasicType TUInt
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "index number of the txhash element to return"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_get_runner_tx_hash" nm_setting_team_get_runner_tx_hash :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    Word32 ->                               -- idx : TBasicType TUInt
    IO CString

-- | /No description available in the introspection data./
-- 
-- /Since: 1.12/
settingTeamGetRunnerTxHash ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> Word32
    -- ^ /@idx@/: index number of the txhash element to return
    -> m T.Text
    -- ^ __Returns:__ the txhash element at index /@idx@/
settingTeamGetRunnerTxHash :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> Word32 -> m Text
settingTeamGetRunnerTxHash a
setting Word32
idx = 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 SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    CString
result <- Ptr SettingTeam -> Word32 -> IO CString
nm_setting_team_get_runner_tx_hash Ptr SettingTeam
setting' Word32
idx
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"settingTeamGetRunnerTxHash" 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 SettingTeamGetRunnerTxHashMethodInfo
instance (signature ~ (Word32 -> m T.Text), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamGetRunnerTxHashMethodInfo a signature where
    overloadedMethod = settingTeamGetRunnerTxHash

instance O.OverloadedMethodInfo SettingTeamGetRunnerTxHashMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamGetRunnerTxHash",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamGetRunnerTxHash"
        })


#endif

-- method SettingTeam::remove_link_watcher
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "idx"
--           , argType = TBasicType TUInt
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "index number of the link watcher to remove"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_remove_link_watcher" nm_setting_team_remove_link_watcher :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    Word32 ->                               -- idx : TBasicType TUInt
    IO ()

-- | Removes the link watcher at index @/idx/@.
-- 
-- /Since: 1.12/
settingTeamRemoveLinkWatcher ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> Word32
    -- ^ /@idx@/: index number of the link watcher to remove
    -> m ()
settingTeamRemoveLinkWatcher :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> Word32 -> m ()
settingTeamRemoveLinkWatcher a
setting Word32
idx = 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
$ do
    Ptr SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    Ptr SettingTeam -> Word32 -> IO ()
nm_setting_team_remove_link_watcher Ptr SettingTeam
setting' Word32
idx
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
setting
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data SettingTeamRemoveLinkWatcherMethodInfo
instance (signature ~ (Word32 -> m ()), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamRemoveLinkWatcherMethodInfo a signature where
    overloadedMethod = settingTeamRemoveLinkWatcher

instance O.OverloadedMethodInfo SettingTeamRemoveLinkWatcherMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamRemoveLinkWatcher",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamRemoveLinkWatcher"
        })


#endif

-- method SettingTeam::remove_link_watcher_by_value
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "link_watcher"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "TeamLinkWatcher" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the link watcher to remove"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TBoolean)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_remove_link_watcher_by_value" nm_setting_team_remove_link_watcher_by_value :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    Ptr NM.TeamLinkWatcher.TeamLinkWatcher -> -- link_watcher : TInterface (Name {namespace = "NM", name = "TeamLinkWatcher"})
    IO CInt

-- | Removes the link watcher entry matching link_watcher.
-- 
-- /Since: 1.12/
settingTeamRemoveLinkWatcherByValue ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> NM.TeamLinkWatcher.TeamLinkWatcher
    -- ^ /@linkWatcher@/: the link watcher to remove
    -> m Bool
    -- ^ __Returns:__ 'P.True' if the link watcher was found and removed, 'P.False' otherwise.
settingTeamRemoveLinkWatcherByValue :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> TeamLinkWatcher -> m Bool
settingTeamRemoveLinkWatcherByValue a
setting TeamLinkWatcher
linkWatcher = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
    Ptr SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    Ptr TeamLinkWatcher
linkWatcher' <- TeamLinkWatcher -> IO (Ptr TeamLinkWatcher)
forall a. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a)
unsafeManagedPtrGetPtr TeamLinkWatcher
linkWatcher
    CInt
result <- Ptr SettingTeam -> Ptr TeamLinkWatcher -> IO CInt
nm_setting_team_remove_link_watcher_by_value Ptr SettingTeam
setting' Ptr TeamLinkWatcher
linkWatcher'
    let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
setting
    TeamLinkWatcher -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr TeamLinkWatcher
linkWatcher
    Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'

#if defined(ENABLE_OVERLOADING)
data SettingTeamRemoveLinkWatcherByValueMethodInfo
instance (signature ~ (NM.TeamLinkWatcher.TeamLinkWatcher -> m Bool), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamRemoveLinkWatcherByValueMethodInfo a signature where
    overloadedMethod = settingTeamRemoveLinkWatcherByValue

instance O.OverloadedMethodInfo SettingTeamRemoveLinkWatcherByValueMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamRemoveLinkWatcherByValue",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamRemoveLinkWatcherByValue"
        })


#endif

-- method SettingTeam::remove_runner_tx_hash
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSettingTeam" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "idx"
--           , argType = TBasicType TUInt
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText =
--                     Just "index number of the element to remove from txhash"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_remove_runner_tx_hash" nm_setting_team_remove_runner_tx_hash :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    Word32 ->                               -- idx : TBasicType TUInt
    IO ()

-- | Removes the txhash element at index /@idx@/.
-- 
-- /Since: 1.12/
settingTeamRemoveRunnerTxHash ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the t'GI.NM.Objects.SettingTeam.SettingTeam'
    -> Word32
    -- ^ /@idx@/: index number of the element to remove from txhash
    -> m ()
settingTeamRemoveRunnerTxHash :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> Word32 -> m ()
settingTeamRemoveRunnerTxHash a
setting Word32
idx = 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
$ do
    Ptr SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    Ptr SettingTeam -> Word32 -> IO ()
nm_setting_team_remove_runner_tx_hash Ptr SettingTeam
setting' Word32
idx
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
setting
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data SettingTeamRemoveRunnerTxHashMethodInfo
instance (signature ~ (Word32 -> m ()), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamRemoveRunnerTxHashMethodInfo a signature where
    overloadedMethod = settingTeamRemoveRunnerTxHash

instance O.OverloadedMethodInfo SettingTeamRemoveRunnerTxHashMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamRemoveRunnerTxHash",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamRemoveRunnerTxHash"
        })


#endif

-- method SettingTeam::remove_runner_tx_hash_by_value
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "setting"
--           , argType =
--               TInterface Name { namespace = "NM" , name = "SettingTeam" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the #NMSetetingTeam"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "txhash"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the txhash element to remove"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TBoolean)
-- throws : False
-- Skip return : False

foreign import ccall "nm_setting_team_remove_runner_tx_hash_by_value" nm_setting_team_remove_runner_tx_hash_by_value :: 
    Ptr SettingTeam ->                      -- setting : TInterface (Name {namespace = "NM", name = "SettingTeam"})
    CString ->                              -- txhash : TBasicType TUTF8
    IO CInt

-- | Removes the txhash element @/txhash/@
-- 
-- /Since: 1.12/
settingTeamRemoveRunnerTxHashByValue ::
    (B.CallStack.HasCallStack, MonadIO m, IsSettingTeam a) =>
    a
    -- ^ /@setting@/: the @/NMSetetingTeam/@
    -> T.Text
    -- ^ /@txhash@/: the txhash element to remove
    -> m Bool
    -- ^ __Returns:__ 'P.True' if the txhash element was found and removed; 'P.False' if it was not.
settingTeamRemoveRunnerTxHashByValue :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingTeam a) =>
a -> Text -> m Bool
settingTeamRemoveRunnerTxHashByValue a
setting Text
txhash = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
    Ptr SettingTeam
setting' <- a -> IO (Ptr SettingTeam)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
    CString
txhash' <- Text -> IO CString
textToCString Text
txhash
    CInt
result <- Ptr SettingTeam -> CString -> IO CInt
nm_setting_team_remove_runner_tx_hash_by_value Ptr SettingTeam
setting' CString
txhash'
    let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
setting
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
txhash'
    Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'

#if defined(ENABLE_OVERLOADING)
data SettingTeamRemoveRunnerTxHashByValueMethodInfo
instance (signature ~ (T.Text -> m Bool), MonadIO m, IsSettingTeam a) => O.OverloadedMethod SettingTeamRemoveRunnerTxHashByValueMethodInfo a signature where
    overloadedMethod = settingTeamRemoveRunnerTxHashByValue

instance O.OverloadedMethodInfo SettingTeamRemoveRunnerTxHashByValueMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.NM.Objects.SettingTeam.settingTeamRemoveRunnerTxHashByValue",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingTeam.html#v:settingTeamRemoveRunnerTxHashByValue"
        })


#endif