Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves list of available mobile apps.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.mobileApps.list
.
Synopsis
- type MobileAppsListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("mobileApps" :> (QueryParams "directories" MobileAppsListDirectories :> (QueryParam "searchString" Text :> (QueryParams "ids" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] MobileAppsListResponse))))))))))
- mobileAppsList :: Int64 -> MobileAppsList
- data MobileAppsList
- malDirectories :: Lens' MobileAppsList [MobileAppsListDirectories]
- malSearchString :: Lens' MobileAppsList (Maybe Text)
- malIds :: Lens' MobileAppsList [Text]
- malProFileId :: Lens' MobileAppsList Int64
- malPageToken :: Lens' MobileAppsList (Maybe Text)
- malMaxResults :: Lens' MobileAppsList Int32
REST Resource
type MobileAppsListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("mobileApps" :> (QueryParams "directories" MobileAppsListDirectories :> (QueryParam "searchString" Text :> (QueryParams "ids" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] MobileAppsListResponse)))))))))) Source #
A resource alias for dfareporting.mobileApps.list
method which the
MobileAppsList
request conforms to.
Creating a Request
Creates a value of MobileAppsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MobileAppsList Source #
Retrieves list of available mobile apps.
See: mobileAppsList
smart constructor.
Instances
Request Lenses
malDirectories :: Lens' MobileAppsList [MobileAppsListDirectories] Source #
Select only apps from these directories.
malSearchString :: Lens' MobileAppsList (Maybe Text) Source #
Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "app*2015" will return objects with names like "app Jan 2018", "app Jan 2018", or simply "app 2018". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "app" will match objects with name "my app", "app 2018", or simply "app".
malProFileId :: Lens' MobileAppsList Int64 Source #
User profile ID associated with this request.
malPageToken :: Lens' MobileAppsList (Maybe Text) Source #
Value of the nextPageToken from the previous result page.
malMaxResults :: Lens' MobileAppsList Int32 Source #
Maximum number of results to return.