PHP Class BitbarPlugins\Travel\GeolocationRequest

Inheritance: implements JsonSerializable
Exibir arquivo Open project: matryer/bitbar-plugins

Public Methods

Method Description
fromArrayDefinition ( array $definition ) : self
jsonSerialize ( )
setCarrier ( string $carrier ) : GeolocationRequest
setCellTowers ( array $cellTowers ) : GeolocationRequest
setConsiderIp ( boolean $considerIp ) : GeolocationRequest
setHomeMobileCountryCode ( integer $homeMobileCountryCode ) : GeolocationRequest
setHomeMobileNetworkCode ( integer $homeMobileNetworkCode ) : GeolocationRequest
setRadioType ( string $radioType ) : GeolocationRequest
setWifiAccessPoints ( WifiAccessPoints $wifiAccessPoints ) : GeolocationRequest

Private Methods

Method Description
getCarrierFromDefinition ( array $definition )
getCellTowersFromDefinition ( array $definition )
getConsiderIpFromDefinition ( array $definition )
getMMCFromDefinition ( array $definition )
getMNCFromDefinition ( array $definition )
getRadioTypeFromDefinition ( array $definition )
getWifiAccessPointsFromDefinition ( array $definition )

Method Details

fromArrayDefinition() public static method

public static fromArrayDefinition ( array $definition ) : self
$definition array
return self

jsonSerialize() public method

public jsonSerialize ( )

setCarrier() public method

public setCarrier ( string $carrier ) : GeolocationRequest
$carrier string
return GeolocationRequest

setCellTowers() public method

public setCellTowers ( array $cellTowers ) : GeolocationRequest
$cellTowers array
return GeolocationRequest

setConsiderIp() public method

public setConsiderIp ( boolean $considerIp ) : GeolocationRequest
$considerIp boolean
return GeolocationRequest

setHomeMobileCountryCode() public method

public setHomeMobileCountryCode ( integer $homeMobileCountryCode ) : GeolocationRequest
$homeMobileCountryCode integer
return GeolocationRequest

setHomeMobileNetworkCode() public method

public setHomeMobileNetworkCode ( integer $homeMobileNetworkCode ) : GeolocationRequest
$homeMobileNetworkCode integer
return GeolocationRequest

setRadioType() public method

public setRadioType ( string $radioType ) : GeolocationRequest
$radioType string
return GeolocationRequest

setWifiAccessPoints() public method

public setWifiAccessPoints ( WifiAccessPoints $wifiAccessPoints ) : GeolocationRequest
$wifiAccessPoints WifiAccessPoints
return GeolocationRequest