libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DeviceFarm.Types.Radios

Description

 
Synopsis

Documentation

data Radios Source #

Represents the set of radios and their states on a device. Examples of radios include Wi-Fi, GPS, Bluetooth, and NFC.

See: newRadios smart constructor.

Constructors

Radios' 

Fields

  • nfc :: Maybe Bool

    True if NFC is enabled at the beginning of the test. Otherwise, false.

  • gps :: Maybe Bool

    True if GPS is enabled at the beginning of the test. Otherwise, false.

  • bluetooth :: Maybe Bool

    True if Bluetooth is enabled at the beginning of the test. Otherwise, false.

  • wifi :: Maybe Bool

    True if Wi-Fi is enabled at the beginning of the test. Otherwise, false.

Instances

Instances details
Eq Radios Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Radios

Methods

(==) :: Radios -> Radios -> Bool #

(/=) :: Radios -> Radios -> Bool #

Read Radios Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Radios

Show Radios Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Radios

Generic Radios Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Radios

Associated Types

type Rep Radios :: Type -> Type #

Methods

from :: Radios -> Rep Radios x #

to :: Rep Radios x -> Radios #

NFData Radios Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Radios

Methods

rnf :: Radios -> () #

Hashable Radios Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Radios

Methods

hashWithSalt :: Int -> Radios -> Int #

hash :: Radios -> Int #

ToJSON Radios Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Radios

FromJSON Radios Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Radios

type Rep Radios Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Radios

type Rep Radios = D1 ('MetaData "Radios" "Amazonka.DeviceFarm.Types.Radios" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "Radios'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nfc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "gps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "bluetooth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "wifi") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newRadios :: Radios Source #

Create a value of Radios with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nfc:Radios', radios_nfc - True if NFC is enabled at the beginning of the test. Otherwise, false.

$sel:gps:Radios', radios_gps - True if GPS is enabled at the beginning of the test. Otherwise, false.

$sel:bluetooth:Radios', radios_bluetooth - True if Bluetooth is enabled at the beginning of the test. Otherwise, false.

$sel:wifi:Radios', radios_wifi - True if Wi-Fi is enabled at the beginning of the test. Otherwise, false.

radios_nfc :: Lens' Radios (Maybe Bool) Source #

True if NFC is enabled at the beginning of the test. Otherwise, false.

radios_gps :: Lens' Radios (Maybe Bool) Source #

True if GPS is enabled at the beginning of the test. Otherwise, false.

radios_bluetooth :: Lens' Radios (Maybe Bool) Source #

True if Bluetooth is enabled at the beginning of the test. Otherwise, false.

radios_wifi :: Lens' Radios (Maybe Bool) Source #

True if Wi-Fi is enabled at the beginning of the test. Otherwise, false.