gogol-spectrum-0.4.0: Google Spectrum Database SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Spectrum

Contents

Description

API for spectrum-management functions.

See: Google Spectrum Database API Reference

Synopsis

Service Configuration

spectrumService :: ServiceConfig Source #

Default request referring to version v1explorer of the Google Spectrum Database API. This contains the host and root path used as a starting point for constructing service requests.

API Declaration

type SpectrumAPI = PawsVerifyDeviceResource :<|> (PawsInitResource :<|> (PawsGetSpectrumResource :<|> (PawsNotifySpectrumUseResource :<|> (PawsRegisterResource :<|> PawsGetSpectrumBatchResource)))) Source #

Represents the entirety of the methods and resources available for the Google Spectrum Database API service.

Resources

spectrum.paws.getSpectrum

spectrum.paws.getSpectrumBatch

spectrum.paws.init

spectrum.paws.notifySpectrumUse

spectrum.paws.register

spectrum.paws.verifyDevice

Types

GeoLocationPolygon

data GeoLocationPolygon Source #

A region is represented using the polygonal shape.

See: geoLocationPolygon smart constructor.

Instances
Eq GeoLocationPolygon Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data GeoLocationPolygon Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GeoLocationPolygon -> c GeoLocationPolygon #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GeoLocationPolygon #

toConstr :: GeoLocationPolygon -> Constr #

dataTypeOf :: GeoLocationPolygon -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GeoLocationPolygon) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GeoLocationPolygon) #

gmapT :: (forall b. Data b => b -> b) -> GeoLocationPolygon -> GeoLocationPolygon #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GeoLocationPolygon -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GeoLocationPolygon -> r #

gmapQ :: (forall d. Data d => d -> u) -> GeoLocationPolygon -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GeoLocationPolygon -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GeoLocationPolygon -> m GeoLocationPolygon #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GeoLocationPolygon -> m GeoLocationPolygon #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GeoLocationPolygon -> m GeoLocationPolygon #

Show GeoLocationPolygon Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic GeoLocationPolygon Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep GeoLocationPolygon :: Type -> Type #

ToJSON GeoLocationPolygon Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON GeoLocationPolygon Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep GeoLocationPolygon Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep GeoLocationPolygon = D1 (MetaData "GeoLocationPolygon" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" True) (C1 (MetaCons "GeoLocationPolygon'" PrefixI True) (S1 (MetaSel (Just "_glpExterior") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [GeoLocationPoint]))))

geoLocationPolygon :: GeoLocationPolygon Source #

Creates a value of GeoLocationPolygon with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

glpExterior :: Lens' GeoLocationPolygon [GeoLocationPoint] Source #

When the geolocation describes a region, the exterior field refers to a list of latitude/longitude points that represent the vertices of a polygon. The first and last points must be the same. Thus, a minimum of four points is required. The following polygon restrictions from RFC5491 apply: - A connecting line shall not cross another connecting line of the same polygon. - The vertices must be defined in a counterclockwise order. - The edges of a polygon are defined by the shortest path between two points in space (not a geodesic curve). Consequently, the length between two adjacent vertices should be restricted to a maximum of 130 km. - All vertices are assumed to be at the same altitude. - Polygon shapes should be restricted to a maximum of 15 vertices (16 points that include the repeated vertex).

GeoLocationPoint

data GeoLocationPoint Source #

A single geolocation on the globe.

See: geoLocationPoint smart constructor.

Instances
Eq GeoLocationPoint Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data GeoLocationPoint Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GeoLocationPoint -> c GeoLocationPoint #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GeoLocationPoint #

toConstr :: GeoLocationPoint -> Constr #

dataTypeOf :: GeoLocationPoint -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GeoLocationPoint) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GeoLocationPoint) #

gmapT :: (forall b. Data b => b -> b) -> GeoLocationPoint -> GeoLocationPoint #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GeoLocationPoint -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GeoLocationPoint -> r #

gmapQ :: (forall d. Data d => d -> u) -> GeoLocationPoint -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GeoLocationPoint -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GeoLocationPoint -> m GeoLocationPoint #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GeoLocationPoint -> m GeoLocationPoint #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GeoLocationPoint -> m GeoLocationPoint #

Show GeoLocationPoint Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic GeoLocationPoint Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep GeoLocationPoint :: Type -> Type #

ToJSON GeoLocationPoint Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON GeoLocationPoint Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep GeoLocationPoint Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep GeoLocationPoint = D1 (MetaData "GeoLocationPoint" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "GeoLocationPoint'" PrefixI True) (S1 (MetaSel (Just "_glpLatitude") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_glpLongitude") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))))

geoLocationPoint :: GeoLocationPoint Source #

Creates a value of GeoLocationPoint with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

glpLatitude :: Lens' GeoLocationPoint (Maybe Double) Source #

A required floating-point number that expresses the latitude in degrees using the WGS84 datum. For details on this encoding, see the National Imagery and Mapping Agency's Technical Report TR8350.2.

glpLongitude :: Lens' GeoLocationPoint (Maybe Double) Source #

A required floating-point number that expresses the longitude in degrees using the WGS84 datum. For details on this encoding, see the National Imagery and Mapping Agency's Technical Report TR8350.2.

PawsInitResponse

data PawsInitResponse Source #

The initialization response message communicates database parameters to the requesting device.

See: pawsInitResponse smart constructor.

Instances
Eq PawsInitResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data PawsInitResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PawsInitResponse -> c PawsInitResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PawsInitResponse #

toConstr :: PawsInitResponse -> Constr #

dataTypeOf :: PawsInitResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PawsInitResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PawsInitResponse) #

gmapT :: (forall b. Data b => b -> b) -> PawsInitResponse -> PawsInitResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PawsInitResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PawsInitResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> PawsInitResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PawsInitResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PawsInitResponse -> m PawsInitResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsInitResponse -> m PawsInitResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsInitResponse -> m PawsInitResponse #

Show PawsInitResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic PawsInitResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep PawsInitResponse :: Type -> Type #

ToJSON PawsInitResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON PawsInitResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsInitResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsInitResponse = D1 (MetaData "PawsInitResponse" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "PawsInitResponse'" PrefixI True) ((S1 (MetaSel (Just "_pirKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pirVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pirRulesetInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RulesetInfo)) :*: (S1 (MetaSel (Just "_pirType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pirDatabaseChange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DBUpdateSpec))))))

pawsInitResponse :: PawsInitResponse Source #

Creates a value of PawsInitResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pirKind :: Lens' PawsInitResponse Text Source #

Identifies what kind of resource this is. Value: the fixed string "spectrum#pawsInitResponse".

pirVersion :: Lens' PawsInitResponse (Maybe Text) Source #

The PAWS version. Must be exactly 1.0. Required field.

pirRulesetInfo :: Lens' PawsInitResponse (Maybe RulesetInfo) Source #

The rulesetInfo parameter must be included in the response. This parameter specifies the regulatory domain and parameters applicable to that domain. The database must include the authority field, which defines the regulatory domain for the location specified in the INIT_REQ message.

pirType :: Lens' PawsInitResponse (Maybe Text) Source #

The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). Required field.

pirDatabaseChange :: Lens' PawsInitResponse (Maybe DBUpdateSpec) Source #

A database may include the databaseChange parameter to notify a device of a change to its database URI, providing one or more alternate database URIs. The device should use this information to update its list of pre-configured databases by (only) replacing its entry for the responding database with the list of alternate URIs.

PawsRegisterResponse

data PawsRegisterResponse Source #

The registration response message simply acknowledges receipt of the request and is otherwise empty.

See: pawsRegisterResponse smart constructor.

Instances
Eq PawsRegisterResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data PawsRegisterResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PawsRegisterResponse -> c PawsRegisterResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PawsRegisterResponse #

toConstr :: PawsRegisterResponse -> Constr #

dataTypeOf :: PawsRegisterResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PawsRegisterResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PawsRegisterResponse) #

gmapT :: (forall b. Data b => b -> b) -> PawsRegisterResponse -> PawsRegisterResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PawsRegisterResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PawsRegisterResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> PawsRegisterResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PawsRegisterResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PawsRegisterResponse -> m PawsRegisterResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsRegisterResponse -> m PawsRegisterResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsRegisterResponse -> m PawsRegisterResponse #

Show PawsRegisterResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic PawsRegisterResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep PawsRegisterResponse :: Type -> Type #

ToJSON PawsRegisterResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON PawsRegisterResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsRegisterResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsRegisterResponse = D1 (MetaData "PawsRegisterResponse" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "PawsRegisterResponse'" PrefixI True) ((S1 (MetaSel (Just "_prrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prrVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_prrType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prrDatabaseChange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DBUpdateSpec)))))

pawsRegisterResponse :: PawsRegisterResponse Source #

Creates a value of PawsRegisterResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

prrKind :: Lens' PawsRegisterResponse Text Source #

Identifies what kind of resource this is. Value: the fixed string "spectrum#pawsRegisterResponse".

prrVersion :: Lens' PawsRegisterResponse (Maybe Text) Source #

The PAWS version. Must be exactly 1.0. Required field.

prrType :: Lens' PawsRegisterResponse (Maybe Text) Source #

The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). Required field.

prrDatabaseChange :: Lens' PawsRegisterResponse (Maybe DBUpdateSpec) Source #

A database may include the databaseChange parameter to notify a device of a change to its database URI, providing one or more alternate database URIs. The device should use this information to update its list of pre-configured databases by (only) replacing its entry for the responding database with the list of alternate URIs.

PawsNotifySpectrumUseRequest

data PawsNotifySpectrumUseRequest Source #

The spectrum-use notification message which must contain the geolocation of the Device and parameters required by the regulatory domain.

See: pawsNotifySpectrumUseRequest smart constructor.

Instances
Eq PawsNotifySpectrumUseRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data PawsNotifySpectrumUseRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PawsNotifySpectrumUseRequest -> c PawsNotifySpectrumUseRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PawsNotifySpectrumUseRequest #

toConstr :: PawsNotifySpectrumUseRequest -> Constr #

dataTypeOf :: PawsNotifySpectrumUseRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PawsNotifySpectrumUseRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PawsNotifySpectrumUseRequest) #

gmapT :: (forall b. Data b => b -> b) -> PawsNotifySpectrumUseRequest -> PawsNotifySpectrumUseRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PawsNotifySpectrumUseRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PawsNotifySpectrumUseRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> PawsNotifySpectrumUseRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PawsNotifySpectrumUseRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PawsNotifySpectrumUseRequest -> m PawsNotifySpectrumUseRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsNotifySpectrumUseRequest -> m PawsNotifySpectrumUseRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsNotifySpectrumUseRequest -> m PawsNotifySpectrumUseRequest #

Show PawsNotifySpectrumUseRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic PawsNotifySpectrumUseRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep PawsNotifySpectrumUseRequest :: Type -> Type #

ToJSON PawsNotifySpectrumUseRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON PawsNotifySpectrumUseRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsNotifySpectrumUseRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsNotifySpectrumUseRequest = D1 (MetaData "PawsNotifySpectrumUseRequest" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "PawsNotifySpectrumUseRequest'" PrefixI True) ((S1 (MetaSel (Just "_pnsurSpectra") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SpectrumMessage])) :*: S1 (MetaSel (Just "_pnsurLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GeoLocation))) :*: (S1 (MetaSel (Just "_pnsurVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pnsurType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pnsurDeviceDesc") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeviceDescriptor))))))

pawsNotifySpectrumUseRequest :: PawsNotifySpectrumUseRequest Source #

Creates a value of PawsNotifySpectrumUseRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pnsurSpectra :: Lens' PawsNotifySpectrumUseRequest [SpectrumMessage] Source #

A spectrum list is required in the spectrum-use notification. The list specifies the spectrum that the device expects to use, which includes frequency ranges and maximum power levels. The list may be empty if the device decides not to use any of spectrum. For consistency, the psdBandwidthHz value should match that from one of the spectrum elements in the corresponding available spectrum response previously sent to the device by the database. Note that maximum power levels in the spectrum element must be expressed as power spectral density over the specified psdBandwidthHz value. The actual bandwidth to be used (as computed from the start and stop frequencies) may be different from the psdBandwidthHz value. As an example, when regulatory rules express maximum power spectral density in terms of maximum power over any 100 kHz band, then the psdBandwidthHz value should be set to 100 kHz, even though the actual bandwidth used can be 20 kHz.

pnsurLocation :: Lens' PawsNotifySpectrumUseRequest (Maybe GeoLocation) Source #

The geolocation of the master device (the device that is sending the spectrum-use notification) to the database is required in the spectrum-use notification message.

pnsurVersion :: Lens' PawsNotifySpectrumUseRequest (Maybe Text) Source #

The PAWS version. Must be exactly 1.0. Required field.

pnsurType :: Lens' PawsNotifySpectrumUseRequest (Maybe Text) Source #

The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). Required field.

pnsurDeviceDesc :: Lens' PawsNotifySpectrumUseRequest (Maybe DeviceDescriptor) Source #

Device descriptor information is required in the spectrum-use notification message.

Vcard

data Vcard Source #

A vCard-in-JSON message that contains only the fields needed for PAWS: - fn: Full name of an individual - org: Name of the organization - adr: Address fields - tel: Telephone numbers - email: Email addresses

See: vcard smart constructor.

Instances
Eq Vcard Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

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

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

Data Vcard Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Vcard -> c Vcard #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Vcard #

toConstr :: Vcard -> Constr #

dataTypeOf :: Vcard -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Vcard) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Vcard) #

gmapT :: (forall b. Data b => b -> b) -> Vcard -> Vcard #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Vcard -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Vcard -> r #

gmapQ :: (forall d. Data d => d -> u) -> Vcard -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Vcard -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Vcard -> m Vcard #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Vcard -> m Vcard #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Vcard -> m Vcard #

Show Vcard Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

showsPrec :: Int -> Vcard -> ShowS #

show :: Vcard -> String #

showList :: [Vcard] -> ShowS #

Generic Vcard Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep Vcard :: Type -> Type #

Methods

from :: Vcard -> Rep Vcard x #

to :: Rep Vcard x -> Vcard #

ToJSON Vcard Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON Vcard Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep Vcard Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

vcard :: Vcard Source #

Creates a value of Vcard with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vEmail :: Lens' Vcard (Maybe VcardTypedText) Source #

An email address that can be used to reach the contact.

vAdr :: Lens' Vcard (Maybe VcardAddress) Source #

The street address of the entity.

vOrg :: Lens' Vcard (Maybe VcardTypedText) Source #

The organization associated with the registering entity.

vTel :: Lens' Vcard (Maybe VcardTelephone) Source #

A telephone number that can be used to call the contact.

vFn :: Lens' Vcard (Maybe Text) Source #

The full name of the contact person. For example: John A. Smith.

DBUpdateSpec

data DBUpdateSpec Source #

This message is provided by the database to notify devices of an upcoming change to the database URI.

See: dbUpdateSpec smart constructor.

Instances
Eq DBUpdateSpec Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data DBUpdateSpec Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DBUpdateSpec -> c DBUpdateSpec #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DBUpdateSpec #

toConstr :: DBUpdateSpec -> Constr #

dataTypeOf :: DBUpdateSpec -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DBUpdateSpec) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DBUpdateSpec) #

gmapT :: (forall b. Data b => b -> b) -> DBUpdateSpec -> DBUpdateSpec #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DBUpdateSpec -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DBUpdateSpec -> r #

gmapQ :: (forall d. Data d => d -> u) -> DBUpdateSpec -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DBUpdateSpec -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DBUpdateSpec -> m DBUpdateSpec #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DBUpdateSpec -> m DBUpdateSpec #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DBUpdateSpec -> m DBUpdateSpec #

Show DBUpdateSpec Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic DBUpdateSpec Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep DBUpdateSpec :: Type -> Type #

ToJSON DBUpdateSpec Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON DBUpdateSpec Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep DBUpdateSpec Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep DBUpdateSpec = D1 (MetaData "DBUpdateSpec" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" True) (C1 (MetaCons "DBUpdateSpec'" PrefixI True) (S1 (MetaSel (Just "_dusDatabases") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [DatabaseSpec]))))

dbUpdateSpec :: DBUpdateSpec Source #

Creates a value of DBUpdateSpec with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dusDatabases :: Lens' DBUpdateSpec [DatabaseSpec] Source #

A required list of one or more databases. A device should update its preconfigured list of databases to replace (only) the database that provided the response with the specified entries.

PawsGetSpectrumBatchRequest

data PawsGetSpectrumBatchRequest Source #

The request message for a batch available spectrum query protocol.

See: pawsGetSpectrumBatchRequest smart constructor.

Instances
Eq PawsGetSpectrumBatchRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data PawsGetSpectrumBatchRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PawsGetSpectrumBatchRequest -> c PawsGetSpectrumBatchRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PawsGetSpectrumBatchRequest #

toConstr :: PawsGetSpectrumBatchRequest -> Constr #

dataTypeOf :: PawsGetSpectrumBatchRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PawsGetSpectrumBatchRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PawsGetSpectrumBatchRequest) #

gmapT :: (forall b. Data b => b -> b) -> PawsGetSpectrumBatchRequest -> PawsGetSpectrumBatchRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PawsGetSpectrumBatchRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PawsGetSpectrumBatchRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> PawsGetSpectrumBatchRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PawsGetSpectrumBatchRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PawsGetSpectrumBatchRequest -> m PawsGetSpectrumBatchRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsGetSpectrumBatchRequest -> m PawsGetSpectrumBatchRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsGetSpectrumBatchRequest -> m PawsGetSpectrumBatchRequest #

Show PawsGetSpectrumBatchRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic PawsGetSpectrumBatchRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep PawsGetSpectrumBatchRequest :: Type -> Type #

ToJSON PawsGetSpectrumBatchRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON PawsGetSpectrumBatchRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsGetSpectrumBatchRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

pawsGetSpectrumBatchRequest :: PawsGetSpectrumBatchRequest Source #

Creates a value of PawsGetSpectrumBatchRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pgsbrAntenna :: Lens' PawsGetSpectrumBatchRequest (Maybe AntennaCharacteristics) Source #

Depending on device type and regulatory domain, antenna characteristics may be required.

pgsbrMasterDeviceDesc :: Lens' PawsGetSpectrumBatchRequest (Maybe DeviceDescriptor) Source #

When an available spectrum batch request is made by the master device (a device with geolocation capability) on behalf of a slave device (a device without geolocation capability), the rules of the applicable regulatory domain may require the master device to provide its own device descriptor information (in addition to device descriptor information for the slave device in a separate parameter).

pgsbrOwner :: Lens' PawsGetSpectrumBatchRequest (Maybe DeviceOwner) Source #

Depending on device type and regulatory domain, device owner information may be included in an available spectrum batch request. This allows the device to register and get spectrum-availability information in a single request.

pgsbrRequestType :: Lens' PawsGetSpectrumBatchRequest (Maybe Text) Source #

The request type parameter is an optional parameter that can be used to modify an available spectrum batch request, but its use depends on applicable regulatory rules. For example, It may be used to request generic slave device parameters without having to specify the device descriptor for a specific device. When the requestType parameter is missing, the request is for a specific device (master or slave), and the device descriptor parameter for the device on whose behalf the batch request is made is required.

pgsbrVersion :: Lens' PawsGetSpectrumBatchRequest (Maybe Text) Source #

The PAWS version. Must be exactly 1.0. Required field.

pgsbrType :: Lens' PawsGetSpectrumBatchRequest (Maybe Text) Source #

The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). Required field.

pgsbrLocations :: Lens' PawsGetSpectrumBatchRequest [GeoLocation] Source #

A geolocation list is required. This allows a device to specify its current location plus additional anticipated locations when allowed by the regulatory domain. At least one location must be included. Geolocation must be given as the location of the radiation center of the device's antenna. If a location specifies a region, rather than a point, the database may return an UNIMPLEMENTED error if it does not support query by region. There is no upper limit on the number of locations included in a available spectrum batch request, but the database may restrict the number of locations it supports by returning a response with fewer locations than specified in the batch request. Note that geolocations must be those of the master device (a device with geolocation capability that makes an available spectrum batch request), whether the master device is making the request on its own behalf or on behalf of a slave device (one without geolocation capability).

pgsbrCapabilities :: Lens' PawsGetSpectrumBatchRequest (Maybe DeviceCapabilities) Source #

The master device may include its device capabilities to limit the available-spectrum batch response to the spectrum that is compatible with its capabilities. The database should not return spectrum that is incompatible with the specified capabilities.

pgsbrDeviceDesc :: Lens' PawsGetSpectrumBatchRequest (Maybe DeviceDescriptor) Source #

When the available spectrum request is made on behalf of a specific device (a master or slave device), device descriptor information for the device on whose behalf the request is made is required (in such cases, the requestType parameter must be empty). When a requestType value is specified, device descriptor information may be optional or required according to the rules of the applicable regulatory domain.

GeoSpectrumSchedule

data GeoSpectrumSchedule Source #

The schedule of spectrum profiles available at a particular geolocation.

See: geoSpectrumSchedule smart constructor.

Instances
Eq GeoSpectrumSchedule Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data GeoSpectrumSchedule Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GeoSpectrumSchedule -> c GeoSpectrumSchedule #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GeoSpectrumSchedule #

toConstr :: GeoSpectrumSchedule -> Constr #

dataTypeOf :: GeoSpectrumSchedule -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GeoSpectrumSchedule) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GeoSpectrumSchedule) #

gmapT :: (forall b. Data b => b -> b) -> GeoSpectrumSchedule -> GeoSpectrumSchedule #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GeoSpectrumSchedule -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GeoSpectrumSchedule -> r #

gmapQ :: (forall d. Data d => d -> u) -> GeoSpectrumSchedule -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GeoSpectrumSchedule -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GeoSpectrumSchedule -> m GeoSpectrumSchedule #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GeoSpectrumSchedule -> m GeoSpectrumSchedule #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GeoSpectrumSchedule -> m GeoSpectrumSchedule #

Show GeoSpectrumSchedule Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic GeoSpectrumSchedule Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep GeoSpectrumSchedule :: Type -> Type #

ToJSON GeoSpectrumSchedule Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON GeoSpectrumSchedule Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep GeoSpectrumSchedule Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep GeoSpectrumSchedule = D1 (MetaData "GeoSpectrumSchedule" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "GeoSpectrumSchedule'" PrefixI True) (S1 (MetaSel (Just "_gssLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GeoLocation)) :*: S1 (MetaSel (Just "_gssSpectrumSchedules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SpectrumSchedule]))))

geoSpectrumSchedule :: GeoSpectrumSchedule Source #

Creates a value of GeoSpectrumSchedule with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gssLocation :: Lens' GeoSpectrumSchedule (Maybe GeoLocation) Source #

The geolocation identifies the location at which the spectrum schedule applies. It will always be present.

gssSpectrumSchedules :: Lens' GeoSpectrumSchedule [SpectrumSchedule] Source #

A list of available spectrum profiles and associated times. It will always be present, and at least one schedule must be included (though it may be empty if there is no available spectrum). More than one schedule may be included to represent future changes to the available spectrum.

VcardTypedText

data VcardTypedText Source #

The structure used to represent an organization and an email address.

See: vcardTypedText smart constructor.

Instances
Eq VcardTypedText Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data VcardTypedText Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VcardTypedText -> c VcardTypedText #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VcardTypedText #

toConstr :: VcardTypedText -> Constr #

dataTypeOf :: VcardTypedText -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c VcardTypedText) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VcardTypedText) #

gmapT :: (forall b. Data b => b -> b) -> VcardTypedText -> VcardTypedText #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VcardTypedText -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VcardTypedText -> r #

gmapQ :: (forall d. Data d => d -> u) -> VcardTypedText -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VcardTypedText -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VcardTypedText -> m VcardTypedText #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VcardTypedText -> m VcardTypedText #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VcardTypedText -> m VcardTypedText #

Show VcardTypedText Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic VcardTypedText Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep VcardTypedText :: Type -> Type #

ToJSON VcardTypedText Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON VcardTypedText Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep VcardTypedText Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep VcardTypedText = D1 (MetaData "VcardTypedText" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" True) (C1 (MetaCons "VcardTypedText'" PrefixI True) (S1 (MetaSel (Just "_vttText") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

vcardTypedText :: VcardTypedText Source #

Creates a value of VcardTypedText with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vttText :: Lens' VcardTypedText (Maybe Text) Source #

The text string associated with this item. For example, for an org field: ACME, inc. For an email field: smith'example.com.

SpectrumSchedule

data SpectrumSchedule Source #

The spectrum schedule element combines an event time with spectrum profile to define a time period in which the profile is valid.

See: spectrumSchedule smart constructor.

Instances
Eq SpectrumSchedule Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data SpectrumSchedule Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SpectrumSchedule -> c SpectrumSchedule #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SpectrumSchedule #

toConstr :: SpectrumSchedule -> Constr #

dataTypeOf :: SpectrumSchedule -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SpectrumSchedule) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SpectrumSchedule) #

gmapT :: (forall b. Data b => b -> b) -> SpectrumSchedule -> SpectrumSchedule #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SpectrumSchedule -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SpectrumSchedule -> r #

gmapQ :: (forall d. Data d => d -> u) -> SpectrumSchedule -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SpectrumSchedule -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SpectrumSchedule -> m SpectrumSchedule #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SpectrumSchedule -> m SpectrumSchedule #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SpectrumSchedule -> m SpectrumSchedule #

Show SpectrumSchedule Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic SpectrumSchedule Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep SpectrumSchedule :: Type -> Type #

ToJSON SpectrumSchedule Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON SpectrumSchedule Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep SpectrumSchedule Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep SpectrumSchedule = D1 (MetaData "SpectrumSchedule" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "SpectrumSchedule'" PrefixI True) (S1 (MetaSel (Just "_ssSpectra") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SpectrumMessage])) :*: S1 (MetaSel (Just "_ssEventTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EventTime))))

spectrumSchedule :: SpectrumSchedule Source #

Creates a value of SpectrumSchedule with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ssSpectra :: Lens' SpectrumSchedule [SpectrumMessage] Source #

A list of spectrum messages representing the usable profile. It will always be present, but may be empty when there is no available spectrum.

ssEventTime :: Lens' SpectrumSchedule (Maybe EventTime) Source #

The event time expresses when the spectrum profile is valid. It will always be present.

VcardTelephone

data VcardTelephone Source #

The structure used to represent a telephone number.

See: vcardTelephone smart constructor.

Instances
Eq VcardTelephone Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data VcardTelephone Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VcardTelephone -> c VcardTelephone #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VcardTelephone #

toConstr :: VcardTelephone -> Constr #

dataTypeOf :: VcardTelephone -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c VcardTelephone) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VcardTelephone) #

gmapT :: (forall b. Data b => b -> b) -> VcardTelephone -> VcardTelephone #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VcardTelephone -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VcardTelephone -> r #

gmapQ :: (forall d. Data d => d -> u) -> VcardTelephone -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VcardTelephone -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VcardTelephone -> m VcardTelephone #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VcardTelephone -> m VcardTelephone #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VcardTelephone -> m VcardTelephone #

Show VcardTelephone Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic VcardTelephone Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep VcardTelephone :: Type -> Type #

ToJSON VcardTelephone Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON VcardTelephone Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep VcardTelephone Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep VcardTelephone = D1 (MetaData "VcardTelephone" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" True) (C1 (MetaCons "VcardTelephone'" PrefixI True) (S1 (MetaSel (Just "_vtURI") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

vcardTelephone :: VcardTelephone Source #

Creates a value of VcardTelephone with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vtURI :: Lens' VcardTelephone (Maybe Text) Source #

A nested telephone URI of the form: tel:+1-123-456-7890.

DeviceOwner

data DeviceOwner Source #

This parameter contains device-owner information required as part of device registration. The regulatory domains may require additional parameters. All contact information must be expressed using the structure defined by the vCard format specification. Only the contact fields of vCard are supported: - fn: Full name of an individual - org: Name of the organization - adr: Address fields - tel: Telephone numbers - email: Email addresses Note that the vCard specification defines maximum lengths for each field.

See: deviceOwner smart constructor.

Instances
Eq DeviceOwner Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data DeviceOwner Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeviceOwner -> c DeviceOwner #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeviceOwner #

toConstr :: DeviceOwner -> Constr #

dataTypeOf :: DeviceOwner -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeviceOwner) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeviceOwner) #

gmapT :: (forall b. Data b => b -> b) -> DeviceOwner -> DeviceOwner #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeviceOwner -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeviceOwner -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeviceOwner -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeviceOwner -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeviceOwner -> m DeviceOwner #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceOwner -> m DeviceOwner #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceOwner -> m DeviceOwner #

Show DeviceOwner Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic DeviceOwner Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep DeviceOwner :: Type -> Type #

ToJSON DeviceOwner Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON DeviceOwner Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep DeviceOwner Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep DeviceOwner = D1 (MetaData "DeviceOwner" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "DeviceOwner'" PrefixI True) (S1 (MetaSel (Just "_doOperator") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Vcard)) :*: S1 (MetaSel (Just "_doOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Vcard))))

deviceOwner :: DeviceOwner Source #

Creates a value of DeviceOwner with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

doOperator :: Lens' DeviceOwner (Maybe Vcard) Source #

The vCard contact information for the device operator is optional, but may be required by specific regulatory domains.

doOwner :: Lens' DeviceOwner (Maybe Vcard) Source #

The vCard contact information for the individual or business that owns the device is required.

EventTime

data EventTime Source #

The start and stop times of an event. This is used to indicate the time period for which a spectrum profile is valid. Both times are expressed using the format, YYYY-MM-DDThh:mm:ssZ, as defined in RFC3339. The times must be expressed using UTC.

See: eventTime smart constructor.

Instances
Eq EventTime Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data EventTime Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EventTime -> c EventTime #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EventTime #

toConstr :: EventTime -> Constr #

dataTypeOf :: EventTime -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EventTime) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EventTime) #

gmapT :: (forall b. Data b => b -> b) -> EventTime -> EventTime #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EventTime -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EventTime -> r #

gmapQ :: (forall d. Data d => d -> u) -> EventTime -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EventTime -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EventTime -> m EventTime #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EventTime -> m EventTime #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EventTime -> m EventTime #

Show EventTime Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic EventTime Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep EventTime :: Type -> Type #

ToJSON EventTime Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON EventTime Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep EventTime Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep EventTime = D1 (MetaData "EventTime" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "EventTime'" PrefixI True) (S1 (MetaSel (Just "_etStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_etStopTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

eventTime :: EventTime Source #

Creates a value of EventTime with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

etStartTime :: Lens' EventTime (Maybe Text) Source #

The inclusive start of the event. It will be present.

etStopTime :: Lens' EventTime (Maybe Text) Source #

The exclusive end of the event. It will be present.

PawsGetSpectrumRequest

data PawsGetSpectrumRequest Source #

The request message for the available spectrum query protocol which must include the device's geolocation.

See: pawsGetSpectrumRequest smart constructor.

Instances
Eq PawsGetSpectrumRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data PawsGetSpectrumRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PawsGetSpectrumRequest -> c PawsGetSpectrumRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PawsGetSpectrumRequest #

toConstr :: PawsGetSpectrumRequest -> Constr #

dataTypeOf :: PawsGetSpectrumRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PawsGetSpectrumRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PawsGetSpectrumRequest) #

gmapT :: (forall b. Data b => b -> b) -> PawsGetSpectrumRequest -> PawsGetSpectrumRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PawsGetSpectrumRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PawsGetSpectrumRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> PawsGetSpectrumRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PawsGetSpectrumRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PawsGetSpectrumRequest -> m PawsGetSpectrumRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsGetSpectrumRequest -> m PawsGetSpectrumRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsGetSpectrumRequest -> m PawsGetSpectrumRequest #

Show PawsGetSpectrumRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic PawsGetSpectrumRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep PawsGetSpectrumRequest :: Type -> Type #

ToJSON PawsGetSpectrumRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON PawsGetSpectrumRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsGetSpectrumRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

pawsGetSpectrumRequest :: PawsGetSpectrumRequest Source #

Creates a value of PawsGetSpectrumRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pgsrAntenna :: Lens' PawsGetSpectrumRequest (Maybe AntennaCharacteristics) Source #

Depending on device type and regulatory domain, the characteristics of the antenna may be required.

pgsrMasterDeviceDesc :: Lens' PawsGetSpectrumRequest (Maybe DeviceDescriptor) Source #

When an available spectrum request is made by the master device (a device with geolocation capability) on behalf of a slave device (a device without geolocation capability), the rules of the applicable regulatory domain may require the master device to provide its own device descriptor information (in addition to device descriptor information for the slave device, which is provided in a separate parameter).

pgsrLocation :: Lens' PawsGetSpectrumRequest (Maybe GeoLocation) Source #

The geolocation of the master device (a device with geolocation capability that makes an available spectrum request) is required whether the master device is making the request on its own behalf or on behalf of a slave device (one without geolocation capability). The location must be the location of the radiation center of the master device's antenna. To support mobile devices, a regulatory domain may allow the anticipated position of the master device to be given instead. If the location specifies a region, rather than a point, the database may return an UNIMPLEMENTED error code if it does not support query by region.

pgsrOwner :: Lens' PawsGetSpectrumRequest (Maybe DeviceOwner) Source #

Depending on device type and regulatory domain, device owner information may be included in an available spectrum request. This allows the device to register and get spectrum-availability information in a single request.

pgsrRequestType :: Lens' PawsGetSpectrumRequest (Maybe Text) Source #

The request type parameter is an optional parameter that can be used to modify an available spectrum request, but its use depends on applicable regulatory rules. It may be used, for example, to request generic slave device parameters without having to specify the device descriptor for a specific device. When the requestType parameter is missing, the request is for a specific device (master or slave), and the deviceDesc parameter for the device on whose behalf the request is made is required.

pgsrVersion :: Lens' PawsGetSpectrumRequest (Maybe Text) Source #

The PAWS version. Must be exactly 1.0. Required field.

pgsrType :: Lens' PawsGetSpectrumRequest (Maybe Text) Source #

The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). Required field.

pgsrCapabilities :: Lens' PawsGetSpectrumRequest (Maybe DeviceCapabilities) Source #

The master device may include its device capabilities to limit the available-spectrum response to the spectrum that is compatible with its capabilities. The database should not return spectrum that is incompatible with the specified capabilities.

pgsrDeviceDesc :: Lens' PawsGetSpectrumRequest (Maybe DeviceDescriptor) Source #

When the available spectrum request is made on behalf of a specific device (a master or slave device), device descriptor information for that device is required (in such cases, the requestType parameter must be empty). When a requestType value is specified, device descriptor information may be optional or required according to the rules of the applicable regulatory domain.

AntennaCharacteristics

data AntennaCharacteristics Source #

Antenna characteristics provide additional information, such as the antenna height, antenna type, etc. Whether antenna characteristics must be provided in a request depends on the device type and regulatory domain.

See: antennaCharacteristics smart constructor.

Instances
Eq AntennaCharacteristics Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data AntennaCharacteristics Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AntennaCharacteristics -> c AntennaCharacteristics #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AntennaCharacteristics #

toConstr :: AntennaCharacteristics -> Constr #

dataTypeOf :: AntennaCharacteristics -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AntennaCharacteristics) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AntennaCharacteristics) #

gmapT :: (forall b. Data b => b -> b) -> AntennaCharacteristics -> AntennaCharacteristics #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AntennaCharacteristics -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AntennaCharacteristics -> r #

gmapQ :: (forall d. Data d => d -> u) -> AntennaCharacteristics -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AntennaCharacteristics -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AntennaCharacteristics -> m AntennaCharacteristics #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AntennaCharacteristics -> m AntennaCharacteristics #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AntennaCharacteristics -> m AntennaCharacteristics #

Show AntennaCharacteristics Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic AntennaCharacteristics Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep AntennaCharacteristics :: Type -> Type #

ToJSON AntennaCharacteristics Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON AntennaCharacteristics Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep AntennaCharacteristics Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep AntennaCharacteristics = D1 (MetaData "AntennaCharacteristics" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "AntennaCharacteristics'" PrefixI True) (S1 (MetaSel (Just "_acHeight") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: (S1 (MetaSel (Just "_acHeightType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_acHeightUncertainty") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))))))

antennaCharacteristics :: AntennaCharacteristics Source #

Creates a value of AntennaCharacteristics with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

acHeight :: Lens' AntennaCharacteristics (Maybe Double) Source #

The antenna height in meters. Whether the antenna height is required depends on the device type and the regulatory domain. Note that the height may be negative.

acHeightType :: Lens' AntennaCharacteristics (Maybe Text) Source #

If the height is required, then the height type (AGL for above ground level or AMSL for above mean sea level) is also required. The default is AGL.

acHeightUncertainty :: Lens' AntennaCharacteristics (Maybe Double) Source #

The height uncertainty in meters. Whether this is required depends on the regulatory domain.

PawsVerifyDeviceResponse

data PawsVerifyDeviceResponse Source #

The device validation response message.

See: pawsVerifyDeviceResponse smart constructor.

Instances
Eq PawsVerifyDeviceResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data PawsVerifyDeviceResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PawsVerifyDeviceResponse -> c PawsVerifyDeviceResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PawsVerifyDeviceResponse #

toConstr :: PawsVerifyDeviceResponse -> Constr #

dataTypeOf :: PawsVerifyDeviceResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PawsVerifyDeviceResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PawsVerifyDeviceResponse) #

gmapT :: (forall b. Data b => b -> b) -> PawsVerifyDeviceResponse -> PawsVerifyDeviceResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PawsVerifyDeviceResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PawsVerifyDeviceResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> PawsVerifyDeviceResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PawsVerifyDeviceResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PawsVerifyDeviceResponse -> m PawsVerifyDeviceResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsVerifyDeviceResponse -> m PawsVerifyDeviceResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsVerifyDeviceResponse -> m PawsVerifyDeviceResponse #

Show PawsVerifyDeviceResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic PawsVerifyDeviceResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep PawsVerifyDeviceResponse :: Type -> Type #

ToJSON PawsVerifyDeviceResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON PawsVerifyDeviceResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsVerifyDeviceResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsVerifyDeviceResponse = D1 (MetaData "PawsVerifyDeviceResponse" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "PawsVerifyDeviceResponse'" PrefixI True) ((S1 (MetaSel (Just "_pvdrDeviceValidities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DeviceValidity])) :*: S1 (MetaSel (Just "_pvdrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_pvdrVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pvdrType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pvdrDatabaseChange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DBUpdateSpec))))))

pawsVerifyDeviceResponse :: PawsVerifyDeviceResponse Source #

Creates a value of PawsVerifyDeviceResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pvdrDeviceValidities :: Lens' PawsVerifyDeviceResponse [DeviceValidity] Source #

A device validities list is required in the device validation response to report whether each slave device listed in a previous device validation request is valid. The number of entries must match the number of device descriptors listed in the previous device validation request.

pvdrKind :: Lens' PawsVerifyDeviceResponse Text Source #

Identifies what kind of resource this is. Value: the fixed string "spectrum#pawsVerifyDeviceResponse".

pvdrVersion :: Lens' PawsVerifyDeviceResponse (Maybe Text) Source #

The PAWS version. Must be exactly 1.0. Required field.

pvdrType :: Lens' PawsVerifyDeviceResponse (Maybe Text) Source #

The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). Required field.

pvdrDatabaseChange :: Lens' PawsVerifyDeviceResponse (Maybe DBUpdateSpec) Source #

A database may include the databaseChange parameter to notify a device of a change to its database URI, providing one or more alternate database URIs. The device should use this information to update its list of pre-configured databases by (only) replacing its entry for the responding database with the list of alternate URIs.

VcardAddress

data VcardAddress Source #

The structure used to represent a street address.

See: vcardAddress smart constructor.

Instances
Eq VcardAddress Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data VcardAddress Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VcardAddress -> c VcardAddress #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VcardAddress #

toConstr :: VcardAddress -> Constr #

dataTypeOf :: VcardAddress -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c VcardAddress) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VcardAddress) #

gmapT :: (forall b. Data b => b -> b) -> VcardAddress -> VcardAddress #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VcardAddress -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VcardAddress -> r #

gmapQ :: (forall d. Data d => d -> u) -> VcardAddress -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VcardAddress -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VcardAddress -> m VcardAddress #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VcardAddress -> m VcardAddress #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VcardAddress -> m VcardAddress #

Show VcardAddress Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic VcardAddress Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep VcardAddress :: Type -> Type #

ToJSON VcardAddress Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON VcardAddress Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep VcardAddress Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

vcardAddress :: VcardAddress Source #

Creates a value of VcardAddress with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vaPobox :: Lens' VcardAddress (Maybe Text) Source #

An optional post office box number.

vaCountry :: Lens' VcardAddress (Maybe Text) Source #

The country name. For example: US.

vaStreet :: Lens' VcardAddress (Maybe Text) Source #

The street number and name. For example: 123 Any St.

vaLocality :: Lens' VcardAddress (Maybe Text) Source #

The city or local equivalent portion of the address. For example: San Jose.

vaCode :: Lens' VcardAddress (Maybe Text) Source #

The postal code associated with the address. For example: 94423.

vaRegion :: Lens' VcardAddress (Maybe Text) Source #

The state or local equivalent portion of the address. For example: CA.

PawsGetSpectrumBatchResponse

data PawsGetSpectrumBatchResponse Source #

The response message for the batch available spectrum query contains a schedule of available spectrum for the device at multiple locations.

See: pawsGetSpectrumBatchResponse smart constructor.

Instances
Eq PawsGetSpectrumBatchResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data PawsGetSpectrumBatchResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PawsGetSpectrumBatchResponse -> c PawsGetSpectrumBatchResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PawsGetSpectrumBatchResponse #

toConstr :: PawsGetSpectrumBatchResponse -> Constr #

dataTypeOf :: PawsGetSpectrumBatchResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PawsGetSpectrumBatchResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PawsGetSpectrumBatchResponse) #

gmapT :: (forall b. Data b => b -> b) -> PawsGetSpectrumBatchResponse -> PawsGetSpectrumBatchResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PawsGetSpectrumBatchResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PawsGetSpectrumBatchResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> PawsGetSpectrumBatchResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PawsGetSpectrumBatchResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PawsGetSpectrumBatchResponse -> m PawsGetSpectrumBatchResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsGetSpectrumBatchResponse -> m PawsGetSpectrumBatchResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsGetSpectrumBatchResponse -> m PawsGetSpectrumBatchResponse #

Show PawsGetSpectrumBatchResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic PawsGetSpectrumBatchResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep PawsGetSpectrumBatchResponse :: Type -> Type #

ToJSON PawsGetSpectrumBatchResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON PawsGetSpectrumBatchResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsGetSpectrumBatchResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsGetSpectrumBatchResponse = D1 (MetaData "PawsGetSpectrumBatchResponse" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "PawsGetSpectrumBatchResponse'" PrefixI True) (((S1 (MetaSel (Just "_pNeedsSpectrumReport") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_pGeoSpectrumSchedules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GeoSpectrumSchedule])) :*: (S1 (MetaSel (Just "_pMaxContiguousBwHz") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_pVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_pRulesetInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RulesetInfo)) :*: (S1 (MetaSel (Just "_pType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pDatabaseChange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DBUpdateSpec)))) :*: (S1 (MetaSel (Just "_pTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pDeviceDesc") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeviceDescriptor)) :*: S1 (MetaSel (Just "_pMaxTotalBwHz") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))))))))

pNeedsSpectrumReport :: Lens' PawsGetSpectrumBatchResponse (Maybe Bool) Source #

For regulatory domains that require a spectrum-usage report from devices, the database must return true for this parameter if the geo-spectrum schedules list is not empty; otherwise, the database should either return false or omit this parameter. If this parameter is present and its value is true, the device must send a spectrum use notify message to the database; otherwise, the device should not send the notification.

pKind :: Lens' PawsGetSpectrumBatchResponse Text Source #

Identifies what kind of resource this is. Value: the fixed string "spectrum#pawsGetSpectrumBatchResponse".

pGeoSpectrumSchedules :: Lens' PawsGetSpectrumBatchResponse [GeoSpectrumSchedule] Source #

The available spectrum batch response must contain a geo-spectrum schedule list, The list may be empty if spectrum is not available. The database may return more than one geo-spectrum schedule to represent future changes to the available spectrum. How far in advance a schedule may be provided depends upon the applicable regulatory domain. The database may return available spectrum for fewer geolocations than requested. The device must not make assumptions about the order of the entries in the list, and must use the geolocation value in each geo-spectrum schedule entry to match available spectrum to a location.

pMaxContiguousBwHz :: Lens' PawsGetSpectrumBatchResponse (Maybe Double) Source #

The database may return a constraint on the allowed maximum contiguous bandwidth (in Hertz). A regulatory domain may require the database to return this parameter. When this parameter is present in the response, the device must apply this constraint to its spectrum-selection logic to ensure that no single block of spectrum has bandwidth that exceeds this value.

pVersion :: Lens' PawsGetSpectrumBatchResponse (Maybe Text) Source #

The PAWS version. Must be exactly 1.0. Required field.

pRulesetInfo :: Lens' PawsGetSpectrumBatchResponse (Maybe RulesetInfo) Source #

The database should return ruleset information, which identifies the applicable regulatory authority and ruleset for the available spectrum batch response. If included, the device must use the corresponding ruleset to interpret the response. Values provided in the returned ruleset information, such as maxLocationChange, take precedence over any conflicting values provided in the ruleset information returned in a prior initialization response sent by the database to the device.

pType :: Lens' PawsGetSpectrumBatchResponse (Maybe Text) Source #

The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). Required field.

pDatabaseChange :: Lens' PawsGetSpectrumBatchResponse (Maybe DBUpdateSpec) Source #

A database may include the databaseChange parameter to notify a device of a change to its database URI, providing one or more alternate database URIs. The device should use this information to update its list of pre-configured databases by (only) replacing its entry for the responding database with the list of alternate URIs.

pTimestamp :: Lens' PawsGetSpectrumBatchResponse (Maybe Text) Source #

The database includes a timestamp of the form, YYYY-MM-DDThh:mm:ssZ (Internet timestamp format per RFC3339), in its available spectrum batch response. The timestamp should be used by the device as a reference for the start and stop times specified in the response spectrum schedules.

pDeviceDesc :: Lens' PawsGetSpectrumBatchResponse (Maybe DeviceDescriptor) Source #

The database must return in its available spectrum response the device descriptor information it received in the master device's available spectrum batch request.

pMaxTotalBwHz :: Lens' PawsGetSpectrumBatchResponse (Maybe Double) Source #

The database may return a constraint on the allowed maximum total bandwidth (in Hertz), which does not need to be contiguous. A regulatory domain may require the database to return this parameter. When this parameter is present in the available spectrum batch response, the device must apply this constraint to its spectrum-selection logic to ensure that total bandwidth does not exceed this value.

DeviceValidity

data DeviceValidity Source #

The device validity element describes whether a particular device is valid to operate in the regulatory domain.

See: deviceValidity smart constructor.

Instances
Eq DeviceValidity Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data DeviceValidity Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeviceValidity -> c DeviceValidity #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeviceValidity #

toConstr :: DeviceValidity -> Constr #

dataTypeOf :: DeviceValidity -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeviceValidity) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeviceValidity) #

gmapT :: (forall b. Data b => b -> b) -> DeviceValidity -> DeviceValidity #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeviceValidity -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeviceValidity -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeviceValidity -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeviceValidity -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeviceValidity -> m DeviceValidity #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceValidity -> m DeviceValidity #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceValidity -> m DeviceValidity #

Show DeviceValidity Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic DeviceValidity Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep DeviceValidity :: Type -> Type #

ToJSON DeviceValidity Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON DeviceValidity Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep DeviceValidity Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep DeviceValidity = D1 (MetaData "DeviceValidity" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "DeviceValidity'" PrefixI True) (S1 (MetaSel (Just "_dvIsValid") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_dvReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dvDeviceDesc") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeviceDescriptor)))))

deviceValidity :: DeviceValidity Source #

Creates a value of DeviceValidity with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dvIsValid :: Lens' DeviceValidity (Maybe Bool) Source #

The validity status: true if the device is valid for operation, false otherwise. It will always be present.

dvReason :: Lens' DeviceValidity (Maybe Text) Source #

If the device identifier is not valid, the database may include a reason. The reason may be in any language. The length of the value should not exceed 128 characters.

dvDeviceDesc :: Lens' DeviceValidity (Maybe DeviceDescriptor) Source #

The descriptor of the device for which the validity check was requested. It will always be present.

GeoLocationEllipse

data GeoLocationEllipse Source #

A "point" with uncertainty is represented using the Ellipse shape.

See: geoLocationEllipse smart constructor.

Instances
Eq GeoLocationEllipse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data GeoLocationEllipse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GeoLocationEllipse -> c GeoLocationEllipse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GeoLocationEllipse #

toConstr :: GeoLocationEllipse -> Constr #

dataTypeOf :: GeoLocationEllipse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GeoLocationEllipse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GeoLocationEllipse) #

gmapT :: (forall b. Data b => b -> b) -> GeoLocationEllipse -> GeoLocationEllipse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GeoLocationEllipse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GeoLocationEllipse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GeoLocationEllipse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GeoLocationEllipse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GeoLocationEllipse -> m GeoLocationEllipse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GeoLocationEllipse -> m GeoLocationEllipse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GeoLocationEllipse -> m GeoLocationEllipse #

Show GeoLocationEllipse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic GeoLocationEllipse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep GeoLocationEllipse :: Type -> Type #

ToJSON GeoLocationEllipse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON GeoLocationEllipse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep GeoLocationEllipse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep GeoLocationEllipse = D1 (MetaData "GeoLocationEllipse" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "GeoLocationEllipse'" PrefixI True) ((S1 (MetaSel (Just "_gleSemiMajorAxis") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_gleCenter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GeoLocationPoint))) :*: (S1 (MetaSel (Just "_gleOrientation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_gleSemiMinorAxis") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))))))

geoLocationEllipse :: GeoLocationEllipse Source #

Creates a value of GeoLocationEllipse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gleSemiMajorAxis :: Lens' GeoLocationEllipse (Maybe Double) Source #

A floating-point number that expresses the location uncertainty along the major axis of the ellipse. May be required by the regulatory domain. When the uncertainty is optional, the default value is 0.

gleCenter :: Lens' GeoLocationEllipse (Maybe GeoLocationPoint) Source #

A required geo-spatial point representing the center of the ellipse.

gleOrientation :: Lens' GeoLocationEllipse (Maybe Double) Source #

A floating-point number that expresses the orientation of the ellipse, representing the rotation, in degrees, of the semi-major axis from North towards the East. For example, when the uncertainty is greatest along the North-South direction, orientation is 0 degrees; conversely, if the uncertainty is greatest along the East-West direction, orientation is 90 degrees. When orientation is not present, the orientation is assumed to be 0.

gleSemiMinorAxis :: Lens' GeoLocationEllipse (Maybe Double) Source #

A floating-point number that expresses the location uncertainty along the minor axis of the ellipse. May be required by the regulatory domain. When the uncertainty is optional, the default value is 0.

RulesetInfo

data RulesetInfo Source #

This contains parameters for the ruleset of a regulatory domain that is communicated using the initialization and available-spectrum processes.

See: rulesetInfo smart constructor.

Instances
Eq RulesetInfo Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data RulesetInfo Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RulesetInfo -> c RulesetInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RulesetInfo #

toConstr :: RulesetInfo -> Constr #

dataTypeOf :: RulesetInfo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RulesetInfo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RulesetInfo) #

gmapT :: (forall b. Data b => b -> b) -> RulesetInfo -> RulesetInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RulesetInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RulesetInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> RulesetInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RulesetInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RulesetInfo -> m RulesetInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RulesetInfo -> m RulesetInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RulesetInfo -> m RulesetInfo #

Show RulesetInfo Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic RulesetInfo Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep RulesetInfo :: Type -> Type #

ToJSON RulesetInfo Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON RulesetInfo Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep RulesetInfo Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep RulesetInfo = D1 (MetaData "RulesetInfo" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "RulesetInfo'" PrefixI True) ((S1 (MetaSel (Just "_riRulesetIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_riMaxPollingSecs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) :*: (S1 (MetaSel (Just "_riMaxLocationChange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_riAuthority") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

rulesetInfo :: RulesetInfo Source #

Creates a value of RulesetInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

riRulesetIds :: Lens' RulesetInfo [Text] Source #

The identifiers of the rulesets supported for the device's location. The database should include at least one applicable ruleset in the initialization response. The device may use the ruleset identifiers to determine parameters to include in subsequent requests. Within the context of the available-spectrum responses, the database should include the identifier of the ruleset that it used to determine the available-spectrum response. If included, the device must use the specified ruleset to interpret the response. If the device does not support the indicated ruleset, it must not operate in the spectrum governed by the ruleset.

riMaxPollingSecs :: Lens' RulesetInfo (Maybe Int32) Source #

The maximum duration, in seconds, between requests for available spectrum. It is required in the initialization response, but optional otherwise. The device must contact the database to get available spectrum no less frequently than this duration. If the new spectrum information indicates that the device is using spectrum that is no longer available, it must immediately cease use of those frequencies under rules for database-managed spectrum. If this value is provided within the context of an available-spectrum response, it takes precedence over the value within the initialization response.

riMaxLocationChange :: Lens' RulesetInfo (Maybe Double) Source #

The maximum location change in meters is required in the initialization response, but optional otherwise. When the device changes location by more than this specified distance, it must contact the database to get the available spectrum for the new location. If the device is using spectrum that is no longer available, it must immediately cease use of the spectrum under rules for database-managed spectrum. If this value is provided within the context of an available-spectrum response, it takes precedence over the value within the initialization response.

riAuthority :: Lens' RulesetInfo (Maybe Text) Source #

The regulatory domain to which the ruleset belongs is required. It must be a 2-letter country code. The device should use this to determine additional device behavior required by the associated regulatory domain.

PawsRegisterRequest

data PawsRegisterRequest Source #

The registration request message contains the required registration parameters.

See: pawsRegisterRequest smart constructor.

Instances
Eq PawsRegisterRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data PawsRegisterRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PawsRegisterRequest -> c PawsRegisterRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PawsRegisterRequest #

toConstr :: PawsRegisterRequest -> Constr #

dataTypeOf :: PawsRegisterRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PawsRegisterRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PawsRegisterRequest) #

gmapT :: (forall b. Data b => b -> b) -> PawsRegisterRequest -> PawsRegisterRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PawsRegisterRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PawsRegisterRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> PawsRegisterRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PawsRegisterRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PawsRegisterRequest -> m PawsRegisterRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsRegisterRequest -> m PawsRegisterRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsRegisterRequest -> m PawsRegisterRequest #

Show PawsRegisterRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic PawsRegisterRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep PawsRegisterRequest :: Type -> Type #

ToJSON PawsRegisterRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON PawsRegisterRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsRegisterRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

pawsRegisterRequest :: PawsRegisterRequest Source #

Creates a value of PawsRegisterRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pawAntenna :: Lens' PawsRegisterRequest (Maybe AntennaCharacteristics) Source #

Antenna characteristics, including its height and height type.

pawLocation :: Lens' PawsRegisterRequest (Maybe GeoLocation) Source #

A device's geolocation is required.

pawDeviceOwner :: Lens' PawsRegisterRequest (Maybe DeviceOwner) Source #

Device owner information is required.

pawVersion :: Lens' PawsRegisterRequest (Maybe Text) Source #

The PAWS version. Must be exactly 1.0. Required field.

pawType :: Lens' PawsRegisterRequest (Maybe Text) Source #

The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). Required field.

PawsNotifySpectrumUseResponse

data PawsNotifySpectrumUseResponse Source #

An empty response to the notification.

See: pawsNotifySpectrumUseResponse smart constructor.

Instances
Eq PawsNotifySpectrumUseResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data PawsNotifySpectrumUseResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PawsNotifySpectrumUseResponse -> c PawsNotifySpectrumUseResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PawsNotifySpectrumUseResponse #

toConstr :: PawsNotifySpectrumUseResponse -> Constr #

dataTypeOf :: PawsNotifySpectrumUseResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PawsNotifySpectrumUseResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PawsNotifySpectrumUseResponse) #

gmapT :: (forall b. Data b => b -> b) -> PawsNotifySpectrumUseResponse -> PawsNotifySpectrumUseResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PawsNotifySpectrumUseResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PawsNotifySpectrumUseResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> PawsNotifySpectrumUseResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PawsNotifySpectrumUseResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PawsNotifySpectrumUseResponse -> m PawsNotifySpectrumUseResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsNotifySpectrumUseResponse -> m PawsNotifySpectrumUseResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsNotifySpectrumUseResponse -> m PawsNotifySpectrumUseResponse #

Show PawsNotifySpectrumUseResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic PawsNotifySpectrumUseResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep PawsNotifySpectrumUseResponse :: Type -> Type #

ToJSON PawsNotifySpectrumUseResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON PawsNotifySpectrumUseResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsNotifySpectrumUseResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsNotifySpectrumUseResponse = D1 (MetaData "PawsNotifySpectrumUseResponse" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "PawsNotifySpectrumUseResponse'" PrefixI True) (S1 (MetaSel (Just "_pnsurnKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pnsurnVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pnsurnType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

pawsNotifySpectrumUseResponse :: PawsNotifySpectrumUseResponse Source #

Creates a value of PawsNotifySpectrumUseResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pnsurnKind :: Lens' PawsNotifySpectrumUseResponse Text Source #

Identifies what kind of resource this is. Value: the fixed string "spectrum#pawsNotifySpectrumUseResponse".

pnsurnVersion :: Lens' PawsNotifySpectrumUseResponse (Maybe Text) Source #

The PAWS version. Must be exactly 1.0. Required field.

pnsurnType :: Lens' PawsNotifySpectrumUseResponse (Maybe Text) Source #

The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). Required field.

DatabaseSpec

data DatabaseSpec Source #

This message contains the name and URI of a database.

See: databaseSpec smart constructor.

Instances
Eq DatabaseSpec Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data DatabaseSpec Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DatabaseSpec -> c DatabaseSpec #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DatabaseSpec #

toConstr :: DatabaseSpec -> Constr #

dataTypeOf :: DatabaseSpec -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DatabaseSpec) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DatabaseSpec) #

gmapT :: (forall b. Data b => b -> b) -> DatabaseSpec -> DatabaseSpec #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DatabaseSpec -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DatabaseSpec -> r #

gmapQ :: (forall d. Data d => d -> u) -> DatabaseSpec -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DatabaseSpec -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DatabaseSpec -> m DatabaseSpec #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DatabaseSpec -> m DatabaseSpec #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DatabaseSpec -> m DatabaseSpec #

Show DatabaseSpec Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic DatabaseSpec Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep DatabaseSpec :: Type -> Type #

ToJSON DatabaseSpec Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON DatabaseSpec Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep DatabaseSpec Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep DatabaseSpec = D1 (MetaData "DatabaseSpec" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "DatabaseSpec'" PrefixI True) (S1 (MetaSel (Just "_dsURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

databaseSpec :: DatabaseSpec Source #

Creates a value of DatabaseSpec with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dsURI :: Lens' DatabaseSpec (Maybe Text) Source #

The corresponding URI of the database.

dsName :: Lens' DatabaseSpec (Maybe Text) Source #

The display name for a database.

SpectrumMessage

data SpectrumMessage Source #

Available spectrum can be logically characterized by a list of frequency ranges and permissible power levels for each range.

See: spectrumMessage smart constructor.

Instances
Eq SpectrumMessage Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data SpectrumMessage Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SpectrumMessage -> c SpectrumMessage #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SpectrumMessage #

toConstr :: SpectrumMessage -> Constr #

dataTypeOf :: SpectrumMessage -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SpectrumMessage) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SpectrumMessage) #

gmapT :: (forall b. Data b => b -> b) -> SpectrumMessage -> SpectrumMessage #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SpectrumMessage -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SpectrumMessage -> r #

gmapQ :: (forall d. Data d => d -> u) -> SpectrumMessage -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SpectrumMessage -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SpectrumMessage -> m SpectrumMessage #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SpectrumMessage -> m SpectrumMessage #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SpectrumMessage -> m SpectrumMessage #

Show SpectrumMessage Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic SpectrumMessage Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep SpectrumMessage :: Type -> Type #

ToJSON SpectrumMessage Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON SpectrumMessage Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep SpectrumMessage Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep SpectrumMessage = D1 (MetaData "SpectrumMessage" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "SpectrumMessage'" PrefixI True) (S1 (MetaSel (Just "_smBandwidth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_smFrequencyRanges") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [FrequencyRange]))))

spectrumMessage :: SpectrumMessage Source #

Creates a value of SpectrumMessage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

smBandwidth :: Lens' SpectrumMessage (Maybe Double) Source #

The bandwidth (in Hertz) for which permissible power levels are specified. For example, FCC regulation would require only one spectrum specification at 6MHz bandwidth, but Ofcom regulation would require two specifications, at 0.1MHz and 8MHz. This parameter may be empty if there is no available spectrum. It will be present otherwise.

smFrequencyRanges :: Lens' SpectrumMessage [FrequencyRange] Source #

The list of frequency ranges and permissible power levels. The list may be empty if there is no available spectrum, otherwise it will be present.

GeoLocation

data GeoLocation Source #

This parameter is used to specify the geolocation of the device.

See: geoLocation smart constructor.

Instances
Eq GeoLocation Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data GeoLocation Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GeoLocation -> c GeoLocation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GeoLocation #

toConstr :: GeoLocation -> Constr #

dataTypeOf :: GeoLocation -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GeoLocation) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GeoLocation) #

gmapT :: (forall b. Data b => b -> b) -> GeoLocation -> GeoLocation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GeoLocation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GeoLocation -> r #

gmapQ :: (forall d. Data d => d -> u) -> GeoLocation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GeoLocation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GeoLocation -> m GeoLocation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GeoLocation -> m GeoLocation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GeoLocation -> m GeoLocation #

Show GeoLocation Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic GeoLocation Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep GeoLocation :: Type -> Type #

ToJSON GeoLocation Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON GeoLocation Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep GeoLocation Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep GeoLocation = D1 (MetaData "GeoLocation" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "GeoLocation'" PrefixI True) (S1 (MetaSel (Just "_glConfidence") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_glPoint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GeoLocationEllipse)) :*: S1 (MetaSel (Just "_glRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GeoLocationPolygon)))))

geoLocation :: GeoLocation Source #

Creates a value of GeoLocation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

glConfidence :: Lens' GeoLocation (Maybe Int32) Source #

The location confidence level, as an integer percentage, may be required, depending on the regulatory domain. When the parameter is optional and not provided, its value is assumed to be 95. Valid values range from 0 to 99, since, in practice, 100-percent confidence is not achievable. The confidence value is meaningful only when geolocation refers to a point with uncertainty.

glPoint :: Lens' GeoLocation (Maybe GeoLocationEllipse) Source #

If present, indicates that the geolocation represents a point. Paradoxically, a point is parameterized using an ellipse, where the center represents the location of the point and the distances along the major and minor axes represent the uncertainty. The uncertainty values may be required, depending on the regulatory domain.

glRegion :: Lens' GeoLocation (Maybe GeoLocationPolygon) Source #

If present, indicates that the geolocation represents a region. Database support for regions is optional.

FrequencyRange

data FrequencyRange Source #

A specific range of frequencies together with the associated maximum power level and channel identifier.

See: frequencyRange smart constructor.

Instances
Eq FrequencyRange Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data FrequencyRange Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FrequencyRange -> c FrequencyRange #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FrequencyRange #

toConstr :: FrequencyRange -> Constr #

dataTypeOf :: FrequencyRange -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FrequencyRange) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FrequencyRange) #

gmapT :: (forall b. Data b => b -> b) -> FrequencyRange -> FrequencyRange #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FrequencyRange -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FrequencyRange -> r #

gmapQ :: (forall d. Data d => d -> u) -> FrequencyRange -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FrequencyRange -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FrequencyRange -> m FrequencyRange #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FrequencyRange -> m FrequencyRange #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FrequencyRange -> m FrequencyRange #

Show FrequencyRange Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic FrequencyRange Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep FrequencyRange :: Type -> Type #

ToJSON FrequencyRange Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON FrequencyRange Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep FrequencyRange Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep FrequencyRange = D1 (MetaData "FrequencyRange" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "FrequencyRange'" PrefixI True) ((S1 (MetaSel (Just "_frStopHz") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_frMaxPowerDBm") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))) :*: (S1 (MetaSel (Just "_frChannelId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_frStartHz") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))))))

frequencyRange :: FrequencyRange Source #

Creates a value of FrequencyRange with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

frStopHz :: Lens' FrequencyRange (Maybe Double) Source #

The required exclusive end of the frequency range (in Hertz).

frMaxPowerDBm :: Lens' FrequencyRange (Maybe Double) Source #

The maximum total power level (EIRP)—computed over the corresponding operating bandwidth—that is permitted within the frequency range. Depending on the context in which the frequency-range element appears, this value may be required. For example, it is required in the available-spectrum response, available-spectrum-batch response, and spectrum-use notification message, but it should not be present (it is not applicable) when the frequency range appears inside a device-capabilities message.

frChannelId :: Lens' FrequencyRange (Maybe Text) Source #

The database may include a channel identifier, when applicable. When it is included, the device should treat it as informative. The length of the identifier should not exceed 16 characters.

frStartHz :: Lens' FrequencyRange (Maybe Double) Source #

The required inclusive start of the frequency range (in Hertz).

PawsGetSpectrumResponse

data PawsGetSpectrumResponse Source #

The response message for the available spectrum query which contains a schedule of available spectrum for the device.

See: pawsGetSpectrumResponse smart constructor.

Instances
Eq PawsGetSpectrumResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data PawsGetSpectrumResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PawsGetSpectrumResponse -> c PawsGetSpectrumResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PawsGetSpectrumResponse #

toConstr :: PawsGetSpectrumResponse -> Constr #

dataTypeOf :: PawsGetSpectrumResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PawsGetSpectrumResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PawsGetSpectrumResponse) #

gmapT :: (forall b. Data b => b -> b) -> PawsGetSpectrumResponse -> PawsGetSpectrumResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PawsGetSpectrumResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PawsGetSpectrumResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> PawsGetSpectrumResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PawsGetSpectrumResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PawsGetSpectrumResponse -> m PawsGetSpectrumResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsGetSpectrumResponse -> m PawsGetSpectrumResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsGetSpectrumResponse -> m PawsGetSpectrumResponse #

Show PawsGetSpectrumResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic PawsGetSpectrumResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep PawsGetSpectrumResponse :: Type -> Type #

ToJSON PawsGetSpectrumResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON PawsGetSpectrumResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsGetSpectrumResponse Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsGetSpectrumResponse = D1 (MetaData "PawsGetSpectrumResponse" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "PawsGetSpectrumResponse'" PrefixI True) (((S1 (MetaSel (Just "_pgsrgNeedsSpectrumReport") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pgsrgSpectrumSchedules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SpectrumSchedule]))) :*: (S1 (MetaSel (Just "_pgsrgKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pgsrgMaxContiguousBwHz") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_pgsrgVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_pgsrgRulesetInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RulesetInfo)) :*: (S1 (MetaSel (Just "_pgsrgType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pgsrgDatabaseChange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DBUpdateSpec)))) :*: (S1 (MetaSel (Just "_pgsrgTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pgsrgDeviceDesc") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeviceDescriptor)) :*: S1 (MetaSel (Just "_pgsrgMaxTotalBwHz") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))))))))

pgsrgNeedsSpectrumReport :: Lens' PawsGetSpectrumResponse (Maybe Bool) Source #

For regulatory domains that require a spectrum-usage report from devices, the database must return true for this parameter if the spectrum schedule list is not empty; otherwise, the database will either return false or omit this parameter. If this parameter is present and its value is true, the device must send a spectrum use notify message to the database; otherwise, the device must not send the notification.

pgsrgSpectrumSchedules :: Lens' PawsGetSpectrumResponse [SpectrumSchedule] Source #

The available spectrum response must contain a spectrum schedule list. The list may be empty if spectrum is not available. The database may return more than one spectrum schedule to represent future changes to the available spectrum. How far in advance a schedule may be provided depends on the applicable regulatory domain.

pgsrgKind :: Lens' PawsGetSpectrumResponse Text Source #

Identifies what kind of resource this is. Value: the fixed string "spectrum#pawsGetSpectrumResponse".

pgsrgMaxContiguousBwHz :: Lens' PawsGetSpectrumResponse (Maybe Double) Source #

The database may return a constraint on the allowed maximum contiguous bandwidth (in Hertz). A regulatory domain may require the database to return this parameter. When this parameter is present in the response, the device must apply this constraint to its spectrum-selection logic to ensure that no single block of spectrum has bandwidth that exceeds this value.

pgsrgVersion :: Lens' PawsGetSpectrumResponse (Maybe Text) Source #

The PAWS version. Must be exactly 1.0. Required field.

pgsrgRulesetInfo :: Lens' PawsGetSpectrumResponse (Maybe RulesetInfo) Source #

The database should return ruleset information, which identifies the applicable regulatory authority and ruleset for the available spectrum response. If included, the device must use the corresponding ruleset to interpret the response. Values provided in the returned ruleset information, such as maxLocationChange, take precedence over any conflicting values provided in the ruleset information returned in a prior initialization response sent by the database to the device.

pgsrgType :: Lens' PawsGetSpectrumResponse (Maybe Text) Source #

The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). Required field.

pgsrgDatabaseChange :: Lens' PawsGetSpectrumResponse (Maybe DBUpdateSpec) Source #

A database may include the databaseChange parameter to notify a device of a change to its database URI, providing one or more alternate database URIs. The device should use this information to update its list of pre-configured databases by (only) replacing its entry for the responding database with the list of alternate URIs.

pgsrgTimestamp :: Lens' PawsGetSpectrumResponse (Maybe Text) Source #

The database includes a timestamp of the form YYYY-MM-DDThh:mm:ssZ (Internet timestamp format per RFC3339) in its available spectrum response. The timestamp should be used by the device as a reference for the start and stop times specified in the response spectrum schedules.

pgsrgDeviceDesc :: Lens' PawsGetSpectrumResponse (Maybe DeviceDescriptor) Source #

The database must return, in its available spectrum response, the device descriptor information it received in the master device's available spectrum request.

pgsrgMaxTotalBwHz :: Lens' PawsGetSpectrumResponse (Maybe Double) Source #

The database may return a constraint on the allowed maximum total bandwidth (in Hertz), which need not be contiguous. A regulatory domain may require the database to return this parameter. When this parameter is present in the available spectrum response, the device must apply this constraint to its spectrum-selection logic to ensure that total bandwidth does not exceed this value.

PawsVerifyDeviceRequest

data PawsVerifyDeviceRequest Source #

The device validation request message.

See: pawsVerifyDeviceRequest smart constructor.

Instances
Eq PawsVerifyDeviceRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data PawsVerifyDeviceRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PawsVerifyDeviceRequest -> c PawsVerifyDeviceRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PawsVerifyDeviceRequest #

toConstr :: PawsVerifyDeviceRequest -> Constr #

dataTypeOf :: PawsVerifyDeviceRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PawsVerifyDeviceRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PawsVerifyDeviceRequest) #

gmapT :: (forall b. Data b => b -> b) -> PawsVerifyDeviceRequest -> PawsVerifyDeviceRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PawsVerifyDeviceRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PawsVerifyDeviceRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> PawsVerifyDeviceRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PawsVerifyDeviceRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PawsVerifyDeviceRequest -> m PawsVerifyDeviceRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsVerifyDeviceRequest -> m PawsVerifyDeviceRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsVerifyDeviceRequest -> m PawsVerifyDeviceRequest #

Show PawsVerifyDeviceRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic PawsVerifyDeviceRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep PawsVerifyDeviceRequest :: Type -> Type #

ToJSON PawsVerifyDeviceRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON PawsVerifyDeviceRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsVerifyDeviceRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsVerifyDeviceRequest = D1 (MetaData "PawsVerifyDeviceRequest" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "PawsVerifyDeviceRequest'" PrefixI True) (S1 (MetaSel (Just "_pvdrvVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pvdrvDeviceDescs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DeviceDescriptor])) :*: S1 (MetaSel (Just "_pvdrvType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

pawsVerifyDeviceRequest :: PawsVerifyDeviceRequest Source #

Creates a value of PawsVerifyDeviceRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pvdrvVersion :: Lens' PawsVerifyDeviceRequest (Maybe Text) Source #

The PAWS version. Must be exactly 1.0. Required field.

pvdrvDeviceDescs :: Lens' PawsVerifyDeviceRequest [DeviceDescriptor] Source #

A list of device descriptors, which specifies the slave devices to be validated, is required.

pvdrvType :: Lens' PawsVerifyDeviceRequest (Maybe Text) Source #

The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). Required field.

DeviceDescriptor

data DeviceDescriptor Source #

The device descriptor contains parameters that identify the specific device, such as its manufacturer serial number, regulatory-specific identifier (e.g., FCC ID), and any other device characteristics required by regulatory domains.

See: deviceDescriptor smart constructor.

Instances
Eq DeviceDescriptor Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data DeviceDescriptor Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeviceDescriptor -> c DeviceDescriptor #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeviceDescriptor #

toConstr :: DeviceDescriptor -> Constr #

dataTypeOf :: DeviceDescriptor -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeviceDescriptor) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeviceDescriptor) #

gmapT :: (forall b. Data b => b -> b) -> DeviceDescriptor -> DeviceDescriptor #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeviceDescriptor -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeviceDescriptor -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeviceDescriptor -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeviceDescriptor -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeviceDescriptor -> m DeviceDescriptor #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceDescriptor -> m DeviceDescriptor #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceDescriptor -> m DeviceDescriptor #

Show DeviceDescriptor Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic DeviceDescriptor Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep DeviceDescriptor :: Type -> Type #

ToJSON DeviceDescriptor Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON DeviceDescriptor Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep DeviceDescriptor Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep DeviceDescriptor = D1 (MetaData "DeviceDescriptor" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "DeviceDescriptor'" PrefixI True) (((S1 (MetaSel (Just "_ddEtsiEnDeviceEmissionsClass") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ddRulesetIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_ddModelId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ddEtsiEnDeviceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ddEtsiEnTechnologyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_ddFccId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ddManufacturerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ddFccTvbdDeviceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ddEtsiEnDeviceCategory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ddSerialNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

ddEtsiEnDeviceEmissionsClass :: Lens' DeviceDescriptor (Maybe Text) Source #

Specifies the ETSI white space device emissions class. The values are represented by numeric strings, such as 1, 2, etc. Consult the ETSI documentation for details about the device types.

ddRulesetIds :: Lens' DeviceDescriptor [Text] Source #

The list of identifiers for rulesets supported by the device. A database may require that the device provide this list before servicing the device requests. If the database does not support any of the rulesets specified in the list, the database may refuse to service the device requests. If present, the list must contain at least one entry. For information about the valid requests, see section 9.2 of the PAWS specification. Currently, FccTvBandWhiteSpace-2010 is the only supported ruleset.

ddModelId :: Lens' DeviceDescriptor (Maybe Text) Source #

The device's model ID may be required by the regulatory domain. The string value must not exceed 64 characters in length.

ddEtsiEnDeviceType :: Lens' DeviceDescriptor (Maybe Text) Source #

Specifies the ETSI white space device type. Valid values are single-letter strings, such as A, B, etc. Consult the ETSI documentation for details about the device types.

ddEtsiEnTechnologyId :: Lens' DeviceDescriptor (Maybe Text) Source #

Specifies the ETSI white space device technology identifier. The string value must not exceed 64 characters in length. Consult the ETSI documentation for details about the device types.

ddFccId :: Lens' DeviceDescriptor (Maybe Text) Source #

Specifies the device's FCC certification identifier. The value is an identifier string whose length should not exceed 32 characters. Note that, in practice, a valid FCC ID may be limited to 19 characters.

ddManufacturerId :: Lens' DeviceDescriptor (Maybe Text) Source #

The manufacturer's ID may be required by the regulatory domain. This should represent the name of the device manufacturer, should be consistent across all devices from the same manufacturer, and should be distinct from that of other manufacturers. The string value must not exceed 64 characters in length.

ddFccTvbdDeviceType :: Lens' DeviceDescriptor (Maybe Text) Source #

Specifies the TV Band White Space device type, as defined by the FCC. Valid values are FIXED, MODE_1, MODE_2.

ddEtsiEnDeviceCategory :: Lens' DeviceDescriptor (Maybe Text) Source #

Specifies the ETSI white space device category. Valid values are the strings master and slave. This field is case-insensitive. Consult the ETSI documentation for details about the device types.

ddSerialNumber :: Lens' DeviceDescriptor (Maybe Text) Source #

The manufacturer's device serial number; required by the applicable regulatory domain. The length of the value must not exceed 64 characters.

PawsInitRequest

data PawsInitRequest Source #

The initialization request message allows the master device to initiate exchange of capabilities with the database.

See: pawsInitRequest smart constructor.

Instances
Eq PawsInitRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data PawsInitRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PawsInitRequest -> c PawsInitRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PawsInitRequest #

toConstr :: PawsInitRequest -> Constr #

dataTypeOf :: PawsInitRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PawsInitRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PawsInitRequest) #

gmapT :: (forall b. Data b => b -> b) -> PawsInitRequest -> PawsInitRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PawsInitRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PawsInitRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> PawsInitRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PawsInitRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PawsInitRequest -> m PawsInitRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsInitRequest -> m PawsInitRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PawsInitRequest -> m PawsInitRequest #

Show PawsInitRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic PawsInitRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep PawsInitRequest :: Type -> Type #

ToJSON PawsInitRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON PawsInitRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsInitRequest Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep PawsInitRequest = D1 (MetaData "PawsInitRequest" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" False) (C1 (MetaCons "PawsInitRequest'" PrefixI True) ((S1 (MetaSel (Just "_piriLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GeoLocation)) :*: S1 (MetaSel (Just "_piriVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_piriType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_piriDeviceDesc") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeviceDescriptor)))))

pawsInitRequest :: PawsInitRequest Source #

Creates a value of PawsInitRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

piriLocation :: Lens' PawsInitRequest (Maybe GeoLocation) Source #

A device's geolocation is required.

piriVersion :: Lens' PawsInitRequest (Maybe Text) Source #

The PAWS version. Must be exactly 1.0. Required field.

piriType :: Lens' PawsInitRequest (Maybe Text) Source #

The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). Required field.

piriDeviceDesc :: Lens' PawsInitRequest (Maybe DeviceDescriptor) Source #

The DeviceDescriptor parameter is required. If the database does not support the device or any of the rulesets specified in the device descriptor, it must return an UNSUPPORTED error code in the error response.

DeviceCapabilities

data DeviceCapabilities Source #

Device capabilities provide additional information that may be used by a device to provide additional information to the database that may help it to determine available spectrum. If the database does not support device capabilities it will ignore the parameter altogether.

See: deviceCapabilities smart constructor.

Instances
Eq DeviceCapabilities Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Data DeviceCapabilities Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeviceCapabilities -> c DeviceCapabilities #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeviceCapabilities #

toConstr :: DeviceCapabilities -> Constr #

dataTypeOf :: DeviceCapabilities -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeviceCapabilities) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeviceCapabilities) #

gmapT :: (forall b. Data b => b -> b) -> DeviceCapabilities -> DeviceCapabilities #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeviceCapabilities -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeviceCapabilities -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeviceCapabilities -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeviceCapabilities -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeviceCapabilities -> m DeviceCapabilities #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceCapabilities -> m DeviceCapabilities #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceCapabilities -> m DeviceCapabilities #

Show DeviceCapabilities Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Generic DeviceCapabilities Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

Associated Types

type Rep DeviceCapabilities :: Type -> Type #

ToJSON DeviceCapabilities Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

FromJSON DeviceCapabilities Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep DeviceCapabilities Source # 
Instance details

Defined in Network.Google.Spectrum.Types.Product

type Rep DeviceCapabilities = D1 (MetaData "DeviceCapabilities" "Network.Google.Spectrum.Types.Product" "gogol-spectrum-0.4.0-3tWBsDwAoekF7pa90dO3l1" True) (C1 (MetaCons "DeviceCapabilities'" PrefixI True) (S1 (MetaSel (Just "_dcFrequencyRanges") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [FrequencyRange]))))

deviceCapabilities :: DeviceCapabilities Source #

Creates a value of DeviceCapabilities with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dcFrequencyRanges :: Lens' DeviceCapabilities [FrequencyRange] Source #

An optional list of frequency ranges supported by the device. Each element must contain start and stop frequencies in which the device can operate. Channel identifiers are optional. When specified, the database should not return available spectrum that falls outside these ranges or channel IDs.