ArcGIS Runtime SDK for iOS: AGSPortalInfo.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSPortalInfo.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 1995-2020 ESRI
3 
4  TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
5  Unpublished material - all rights reserved under the
6  Copyright Laws of the United States and applicable international
7  laws, treaties, and conventions.
8 
9  For additional information, contact:
10  Environmental Systems Research Institute, Inc.
11  Attn: Contracts and Legal Services Department
12  380 New York Street
13  Redlands, California, 92373
14  USA
15 
16  email: contracts@esri.com
17  */
18  //Required for Globals API doc
20 
21 #import <ArcGIS/AGSObject.h>
22 #import <ArcGIS/AGSJSONSerializable.h>
23 #import <ArcGIS/AGSPortalTypes.h>
24 
25 
26 
31 typedef NS_ENUM(NSInteger, AGSPortalMode) {
34 };
35 
36 @class AGSPortal;
37 @class AGSEnvelope;
38 @class AGSLoadableImage;
39 @class AGSBasemap;
41 @class AGSLicenseInfo;
42 @class AGSSubscriptionInfo;
43 
55 
56 #pragma mark -
57 #pragma mark initializers
58 
59 
60 
66 +(nullable AGSPortalInfo *)fromJSON:(id)JSONObject withPortal:(AGSPortal*)portal error:(NSError**)error;
67 
68 #pragma mark -
69 #pragma mark properties
70 
75 @property (nullable, nonatomic, weak, readonly) AGSPortal *portal;
76 
80 @property (nullable, nonatomic, copy, readonly) NSString *organizationID;
81 
85 @property (nullable, nonatomic, copy, readonly) NSString *organizationName;
86 
90 @property (nullable, nonatomic, copy, readonly) NSString *organizationDescription;
91 
95 @property (nullable, nonatomic, copy, readonly) NSString *portalName;
96 
100 @property (nullable, nonatomic, copy, readonly) NSString *featuredItemsGroupQuery;
101 
105 @property (nonatomic, assign, readonly) BOOL canSharePublic;
106 
110 @property (nonatomic, assign, readonly) BOOL canShareBingPublic;
111 
115 @property (nonatomic, assign, readonly) BOOL canSearchPublic;
116 
120 @property (nullable, nonatomic, copy, readonly) NSString *basemapGalleryGroupQuery;
121 
125 @property (nullable, nonatomic, copy, readonly) NSString *vectorBasemapGalleryGroupQuery;
126 
130 @property (nullable, nonatomic, strong, readonly) AGSEnvelope *defaultExtent;
131 
135 @property (nullable, nonatomic, strong, readonly) AGSBasemap *defaultBasemap;
136 
140 @property (nullable, nonatomic, strong, readonly) AGSBasemap *defaultVectorBasemap;
141 
145 @property (nullable, nonatomic, copy, readonly) NSString *homePageFeaturedContentGroupQuery;
146 
150 @property (nullable, nonatomic, copy, readonly) NSArray<NSString*> *featuredGroupsQueries;
151 
158 @property (nullable, nonatomic, strong, readonly) AGSLoadableImage *thumbnail;
159 
166 @property (nullable, nonatomic, strong, readonly) AGSLoadableImage *organizationBanner;
167 
174 @property (nonatomic, assign, readonly) AGSPortalAccess access;
175 
181 @property (nonatomic, assign, readonly) AGSPortalMode portalMode;
182 
188 @property (nullable, nonatomic, copy, readonly) NSString *customBaseDomain;
189 
195 @property (nullable, nonatomic, copy, readonly) NSString *organizationSubdomain;
196 
200 @property (nonatomic, strong, readonly) AGSPortalHelperServices *helperServices;
201 
205 @property (nonatomic, assign, readonly) BOOL supportsOAuth;
206 
210 @property (nullable, nonatomic, copy, readonly) NSString *bingKey;
211 
215 @property (nonatomic, assign, readonly) BOOL commentsEnabled;
216 
224 @property (nullable, nonatomic, strong, readonly) AGSLicenseInfo *licenseInfo ;;
225 
229 @property (nonatomic, assign, readonly) BOOL allSSL;
230 
234 @property (nullable, nonatomic, strong, readonly) NSDate *created;
235 
239 @property (nullable, nonatomic, strong, readonly) NSLocale *locale;
240 
244 @property (nonatomic, assign, readonly) NSInteger homePageFeaturedContentCount;
245 
249 @property (nullable, nonatomic, copy, readonly) NSString *IPCountryCode;
250 
254 @property (nonatomic, assign, readonly) BOOL isPortal;
255 
259 @property (nullable, nonatomic, strong, readonly) NSDate *modified;
260 
264 @property (nonatomic, assign, readonly) BOOL showHomePageDescription;
265 
269 @property (nonatomic, assign, readonly) BOOL useVectorBasemaps;
270 
277 @property (nullable, nonatomic, strong, readonly) AGSLoadableImage *portalThumbnail;
278 
282 @property (nullable, nonatomic, copy, readonly) NSString *livingAtlasGroupQuery;
283 
288 @property (nonatomic, assign, readonly, getter=isReadOnly) BOOL readOnly;
289 
295 @property (nullable, nonatomic, copy, readonly) NSString *readOnlyMessage;
296 
301 @property (nullable, nonatomic, strong, readonly) AGSSubscriptionInfo *subscriptionInfo;
302 
303 #pragma mark -
304 #pragma mark methods
305 
306 @end
307 
308 
Definition: AGSPortalInfo.h:33
NSString * bingKey
Definition: AGSPortalInfo.h:210
NSString * basemapGalleryGroupQuery
Definition: AGSPortalInfo.h:120
BOOL showHomePageDescription
Definition: AGSPortalInfo.h:264
AGSPortalHelperServices * helperServices
Definition: AGSPortalInfo.h:200
BOOL commentsEnabled
Definition: AGSPortalInfo.h:215
AGSLicenseInfo * licenseInfo
Definition: AGSPortalInfo.h:224
NSString * readOnlyMessage
Definition: AGSPortalInfo.h:295
AGSPortalMode
Definition: AGSPortalInfo.h:31
NSString * customBaseDomain
Definition: AGSPortalInfo.h:188
NSString * portalName
Definition: AGSPortalInfo.h:95
AGSLoadableImage * organizationBanner
Definition: AGSPortalInfo.h:166
NSString * homePageFeaturedContentGroupQuery
Definition: AGSPortalInfo.h:145
NSDate * created
Definition: AGSPortalInfo.h:234
Services provided by an organization&#39;s portal.
Definition: AGSPortalHelperServices.h:33
Information about a Portal or Organization.
Definition: AGSPortalInfo.h:54
AGSLoadableImage * thumbnail
Definition: AGSPortalInfo.h:158
AGSBasemap * defaultVectorBasemap
Definition: AGSPortalInfo.h:140
An image that is loaded asynchronously.
Definition: AGSLoadableImage.h:27
NSDate * modified
Definition: AGSPortalInfo.h:259
A geometry that represents a rectangular shape.
Definition: AGSEnvelope.h:47
NSString * organizationID
Definition: AGSPortalInfo.h:80
BOOL isPortal
Definition: AGSPortalInfo.h:254
NSInteger homePageFeaturedContentCount
Definition: AGSPortalInfo.h:244
BOOL useVectorBasemaps
Definition: AGSPortalInfo.h:269
A basemap for a map or a scene.
Definition: AGSBasemap.h:65
AGSLoadableImage * portalThumbnail
Definition: AGSPortalInfo.h:277
Definition: AGSObject.h:21
A protocol to convert objects to and from JSON.
Definition: AGSJSONSerializable.h:32
AGSSubscriptionInfo * subscriptionInfo
Definition: AGSPortalInfo.h:301
Information about the user&#39;s subscription.
Definition: AGSSubscriptionInfo.h:44
A class that contains information pertaining to a licensed named user.
Definition: AGSLicenseInfo.h:34
NSLocale * locale
Definition: AGSPortalInfo.h:239
NSString * vectorBasemapGalleryGroupQuery
Definition: AGSPortalInfo.h:125
Definition: AGSPortalInfo.h:32
AGSPortalAccess
Definition: AGSPortalTypes.h:245
AGSPortalAccess access
Definition: AGSPortalInfo.h:174
NSArray< NSString * > * featuredGroupsQueries
Definition: AGSPortalInfo.h:150
NSString * organizationDescription
Definition: AGSPortalInfo.h:90
AGSEnvelope * defaultExtent
Definition: AGSPortalInfo.h:130
NSString * livingAtlasGroupQuery
Definition: AGSPortalInfo.h:282
NSString * featuredItemsGroupQuery
Definition: AGSPortalInfo.h:100
BOOL canSharePublic
Definition: AGSPortalInfo.h:105
BOOL canSearchPublic
Definition: AGSPortalInfo.h:115
NSString * organizationName
Definition: AGSPortalInfo.h:85
BOOL allSSL
Definition: AGSPortalInfo.h:224
AGSBasemap * defaultBasemap
Definition: AGSPortalInfo.h:135
NSString * IPCountryCode
Definition: AGSPortalInfo.h:249
BOOL readOnly
Definition: AGSPortalInfo.h:288
NSString * organizationSubdomain
Definition: AGSPortalInfo.h:195
BOOL canShareBingPublic
Definition: AGSPortalInfo.h:110
An Object representing a Portal for ArcGIS.
Definition: AGSPortal.h:98
AGSPortalMode portalMode
Definition: AGSPortalInfo.h:181
BOOL supportsOAuth
Definition: AGSPortalInfo.h:205