Portal upload settings.
@example:
# upload an rpk to a portal
uploadsettings = PortalUploadSettings()
uploadsettings.setFile("/general/data/rpk/rpkassets_simple_01.rpk")
uploadsettings.setTitle("RPK_Script_Upload")
uploadsettings.setDescription("RPK from apidoctest script cga0")
uploadsettings.setUrl(URL)
uploadsettings.setUsername(username)
uploadsettings.setPassword(password)
ce.upload(uploadsettings)
Methods defined here:
getAccessInformation
getAccessInformation(self):
Gets AccessInformation field. See the Portal REST API for a description of this property.
@return: Value of AccessInformation field. [str]
getAccess
getAccess(self):
Gets Access field. See the Portal REST API for a description of this property.
@return: Value of Access field. [str]
getDescription
getDescription(self):
Gets Description field. See the Portal REST API for a description of this property.
@return: Value of Description field. [str]
getExtent
getExtent(self):
Gets Extent field. See the Portal REST API for a description of this property.
@return: Value of Extent field. [str]
getFile
getFile(self):
Gets File field. The file to upload.
@return: Value of File field. [str]
getGroups
getGroups(self):
Gets Groups field. See the Portal REST API for a description of this property.
@return: Value of Groups field. [str]
getLicenseInfo
getLicenseInfo(self):
Gets LicenseInfo field. See the Portal REST API for a description of this property.
@return: Value of LicenseInfo field. [str]
getName
getName(self):
Gets Name field. See the Portal REST API for a description of this property.
@return: Value of Name field. [str]
getPassword
getPassword(self):
Gets Password field. The Portal password.
@return: Value of Password field. [str]
getSnippet
getSnippet(self):
Gets Snippet field. See the Portal REST API for a description of this property.
@return: Value of Snippet field. [str]
getSpatialReference
getSpatialReference(self):
Gets SpatialReference field. See the Portal REST API for a description of this property.
@return: Value of SpatialReference field. [str]
getTags
getTags(self):
Gets Tags field. See the Portal REST API for a description of this property.
@return: Value of Tags field. [str]
getThumbnail
getThumbnail(self):
Gets Thumbnail field. See the Portal REST API for a description of this property.
@return: Value of Thumbnail field. [str]
getTitle
getTitle(self):
Gets Title field. See the Portal REST API for a description of this property.
@return: Value of Title field. [str]
getUrl
getUrl(self):
Gets Url field. The Portal url.
@return: Value of Url field. [str]
getUsername
getUsername(self):
Gets Username field. The Portal username.
@return: Value of Username field. [str]
setAccessInformation
setAccessInformation(self, stringValue):
Sets AccessInformation field. See the Portal REST API for a description of this property.
@param stringValue: the new value. [str]
setAccess
setAccess(self, stringValue):
Sets Access field. See the Portal REST API for a description of this property.
@param stringValue: the new value. [str]
setDescription
setDescription(self, stringValue):
Sets Description field. See the Portal REST API for a description of this property.
@param stringValue: the new value. [str]
setExtent
setExtent(self, stringValue):
Sets Extent field. See the Portal REST API for a description of this property.
@param stringValue: the new value. [str]
setFile
setFile(self, stringValue):
Sets File field. The file to upload.
@param stringValue: the new value. [str]
setGroups
setGroups(self, stringValue):
Sets Groups field. See the Portal REST API for a description of this property.
@param stringValue: the new value. [str]
setLicenseInfo
setLicenseInfo(self, stringValue):
Sets LicenseInfo field. See the Portal REST API for a description of this property.
@param stringValue: the new value. [str]
setName
setName(self, stringValue):
Sets Name field. See the Portal REST API for a description of this property.
@param stringValue: the new value. [str]
setPassword
setPassword(self, stringValue):
Sets Password field. The Portal password.
@param stringValue: the new value. [str]
setSnippet
setSnippet(self, stringValue):
Sets Snippet field. See the Portal REST API for a description of this property.
@param stringValue: the new value. [str]
setSpatialReference
setSpatialReference(self, stringValue):
Sets SpatialReference field. See the Portal REST API for a description of this property.
@param stringValue: the new value. [str]
setTags
setTags(self, stringValue):
Sets Tags field. See the Portal REST API for a description of this property.
@param stringValue: the new value. [str]
setThumbnail
setThumbnail(self, stringValue):
Sets Thumbnail field. See the Portal REST API for a description of this property.
@param stringValue: the new value. [str]
setTitle
setTitle(self, stringValue):
Sets Title field. See the Portal REST API for a description of this property.
@param stringValue: the new value. [str]
setUrl
setUrl(self, stringValue):
Sets Url field. The Portal url.
@param stringValue: the new value. [str]
setUsername
setUsername(self, stringValue):
Sets Username field. The Portal username.
@param stringValue: the new value. [str]