Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

groupdocs-python

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

groupdocs-python - pypi Package Compare versions

Comparing version
1.2.4
to
1.3.0
+34
groupdocs/models/AnnotationSizeInfo.py
#!/usr/bin/env python
"""
Copyright 2012 GroupDocs.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
class AnnotationSizeInfo:
"""
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually."""
def __init__(self):
self.swaggerTypes = {
'width': 'float',
'height': 'float'
}
self.width = None # float
self.height = None # float
#!/usr/bin/env python
"""
Copyright 2012 GroupDocs.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
class GetBillingAddressResponse:
"""
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually."""
def __init__(self):
self.swaggerTypes = {
'result': 'GetBillingAddressResult',
'status': 'str',
'error_message': 'str',
'composedOn': 'long'
}
self.result = None # GetBillingAddressResult
self.status = None # str
self.error_message = None # str
self.composedOn = None # long
#!/usr/bin/env python
"""
Copyright 2012 GroupDocs.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
class GetBillingAddressResult:
"""
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually."""
def __init__(self):
self.swaggerTypes = {
'billing_address': 'BillingAddressInfo'
}
self.billing_address = None # BillingAddressInfo
#!/usr/bin/env python
"""
Copyright 2012 GroupDocs.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
class ResizeAnnotationResponse:
"""
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually."""
def __init__(self):
self.swaggerTypes = {
'result': 'ResizeAnnotationResult',
'status': 'str',
'error_message': 'str',
'composedOn': 'long'
}
self.result = None # ResizeAnnotationResult
self.status = None # str
self.error_message = None # str
self.composedOn = None # long
#!/usr/bin/env python
"""
Copyright 2012 GroupDocs.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
class ResizeAnnotationResult:
"""
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually."""
def __init__(self):
self.swaggerTypes = {
}
#!/usr/bin/env python
"""
Copyright 2012 GroupDocs.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
class SignatureEnvelopeSendResponse:
"""
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually."""
def __init__(self):
self.swaggerTypes = {
'result': 'SignatureEnvelopeSendResult',
'status': 'str',
'error_message': 'str',
'composedOn': 'long'
}
self.result = None # SignatureEnvelopeSendResult
self.status = None # str
self.error_message = None # str
self.composedOn = None # long
#!/usr/bin/env python
"""
Copyright 2012 GroupDocs.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
class SignatureEnvelopeSendResult:
"""
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually."""
def __init__(self):
self.swaggerTypes = {
'recipients': 'list[SignatureEnvelopeRecipientInfo]'
}
self.recipients = None # list[SignatureEnvelopeRecipientInfo]
+94
-0

@@ -698,2 +698,49 @@ #!/usr/bin/env python

def ResizeAnnotation(self, userId, annotationId, body, **kwargs):
"""Resize annotation
Args:
userId, str: User GUID (required)
annotationId, str: Annotation ID (required)
body, AnnotationSizeInfo: position (required)
Returns: ResizeAnnotationResponse
"""
if( userId == None or annotationId == None or body == None ):
raise ApiException(400, "missing required parameters")
allParams = ['userId', 'annotationId', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method ResizeAnnotation" % key)
params[key] = val
del params['kwargs']
resourcePath = '/ant/{userId}/annotations/{annotationId}/size'.replace('*', '')
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
if ('userId' in params):
replacement = str(self.apiClient.toPathValue(params['userId']))
resourcePath = resourcePath.replace('{' + 'userId' + '}',
replacement)
if ('annotationId' in params):
replacement = str(self.apiClient.toPathValue(params['annotationId']))
resourcePath = resourcePath.replace('{' + 'annotationId' + '}',
replacement)
postData = (params['body'] if 'body' in params else None)
response = self.apiClient.callAPI(self.basePath, resourcePath, method, queryParams,
postData, headerParams)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'ResizeAnnotationResponse')
return responseObject
def SetAnnotationAccess(self, userId, annotationId, body, **kwargs):

@@ -1027,4 +1074,51 @@ """Set Annotation Access

def SetTextFieldColor(self, userId, annotationId, body, **kwargs):
"""Save Text Of Text Field
Args:
userId, str: User GUID (required)
annotationId, str: Annotation ID (required)
body, int: Font Color (required)
Returns: SaveAnnotationTextResponse
"""
if( userId == None or annotationId == None or body == None ):
raise ApiException(400, "missing required parameters")
allParams = ['userId', 'annotationId', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method SetTextFieldColor" % key)
params[key] = val
del params['kwargs']
resourcePath = '/ant/{userId}/annotations/{annotationId}/textFieldColor'.replace('*', '')
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
if ('userId' in params):
replacement = str(self.apiClient.toPathValue(params['userId']))
resourcePath = resourcePath.replace('{' + 'userId' + '}',
replacement)
if ('annotationId' in params):
replacement = str(self.apiClient.toPathValue(params['annotationId']))
resourcePath = resourcePath.replace('{' + 'annotationId' + '}',
replacement)
postData = (params['body'] if 'body' in params else None)
response = self.apiClient.callAPI(self.basePath, resourcePath, method, queryParams,
postData, headerParams)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'SaveAnnotationTextResponse')
return responseObject
+1
-1

@@ -312,2 +312,2 @@ #!/usr/bin/env python

super(Exception, self).__init__((code, ) + args)
self.code = code
self.code = code

@@ -61,3 +61,3 @@ #!/usr/bin/env python

resourcePath = '/async/{userId}/jobs/{jobId}'.replace('*', '')
resourcePath = '/async/{userId}/jobs/{jobId}?format=xml'.replace('*', '')
resourcePath = resourcePath.replace('{format}', 'json')

@@ -670,3 +670,2 @@ method = 'GET'

fileId, str: File GUID (required)
targetType, str: Target type (optional)
emailResults, str: Email results (optional)

@@ -676,3 +675,3 @@ description, str: Description (optional)

callbackUrl, str: Callback url (optional)
checkDocumentOwnership, bool: Check Document Ownership (optional)
new_type, str: Target type (optional)

@@ -683,3 +682,3 @@ Returns: ConvertResponse

raise ApiException(400, "missing required parameters")
allParams = ['userId', 'fileId', 'targetType', 'emailResults', 'description', 'printScript', 'callbackUrl', 'checkDocumentOwnership']
allParams = ['userId', 'fileId', 'emailResults', 'description', 'printScript', 'callbackUrl', 'new_type']

@@ -693,3 +692,3 @@ params = locals()

resourcePath = '/async/{userId}/files/{fileId}?new_type={targetType}&email_results={emailResults}&new_description={description}&print_script={printScript}&callback={callbackUrl}&checkDocumentOwnership={checkDocumentOwnership}'.replace('*', '')
resourcePath = '/async/{userId}/files/{fileId}?new_type={targetType}&email_results={emailResults}&new_description={description}&print_script={printScript}&callback={callbackUrl}'.replace('*', '')
pos = resourcePath.find("?")

@@ -704,4 +703,2 @@ if pos != -1:

if ('targetType' in params):
queryParams['new_type'] = self.apiClient.toPathValue(params['targetType'])
if ('emailResults' in params):

@@ -715,4 +712,4 @@ queryParams['email_results'] = self.apiClient.toPathValue(params['emailResults'])

queryParams['callback'] = self.apiClient.toPathValue(params['callbackUrl'])
if ('checkDocumentOwnership' in params):
queryParams['checkDocumentOwnership'] = self.apiClient.toPathValue(params['checkDocumentOwnership'])
if ('new_type' in params):
queryParams['new_type'] = self.apiClient.toPathValue(params['new_type'])
if ('userId' in params):

@@ -719,0 +716,0 @@ replacement = str(self.apiClient.toPathValue(params['userId']))

@@ -41,45 +41,2 @@ #!/usr/bin/env python

def DownloadResult(self, userId, resultFileId, **kwargs):
"""Download comparison result file
Args:
userId, str: User GUID (required)
resultFileId, str: Comparison result file GUID (required)
format, str: Comparison result file format (optional)
Returns: stream
"""
if( userId == None or resultFileId == None ):
raise ApiException(400, "missing required parameters")
allParams = ['userId', 'resultFileId', 'format']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method DownloadResult" % key)
params[key] = val
del params['kwargs']
resourcePath = '/comparison/{userId}/comparison/download?resultFileId={resultFileId}&format={format}'.replace('*', '')
pos = resourcePath.find("?")
if pos != -1:
resourcePath = resourcePath[0:pos]
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
if ('resultFileId' in params):
queryParams['resultFileId'] = self.apiClient.toPathValue(params['resultFileId'])
if ('format' in params):
queryParams['format'] = self.apiClient.toPathValue(params['format'])
if ('userId' in params):
replacement = str(self.apiClient.toPathValue(params['userId']))
resourcePath = resourcePath.replace('{' + 'userId' + '}',
replacement)
postData = (params['body'] if 'body' in params else None)
return self.apiClient.callAPI(self.basePath, resourcePath, method, queryParams,
postData, headerParams, FileStream)
def Compare(self, userId, sourceFileId, targetFileId, callbackUrl, **kwargs):

@@ -280,4 +237,47 @@ """Compare

def DownloadResult(self, userId, resultFileId, **kwargs):
"""Download comparison result file
Args:
userId, str: User GUID (required)
resultFileId, str: Comparison result file GUID (required)
format, str: Comparison result file format (optional)
Returns: stream
"""
if( userId == None or resultFileId == None ):
raise ApiException(400, "missing required parameters")
allParams = ['userId', 'resultFileId', 'format']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method DownloadResult" % key)
params[key] = val
del params['kwargs']
resourcePath = '/comparison/{userId}/comparison/download?resultFileId={resultFileId}&format={format}'.replace('*', '')
pos = resourcePath.find("?")
if pos != -1:
resourcePath = resourcePath[0:pos]
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
if ('resultFileId' in params):
queryParams['resultFileId'] = self.apiClient.toPathValue(params['resultFileId'])
if ('format' in params):
queryParams['format'] = self.apiClient.toPathValue(params['format'])
if ('userId' in params):
replacement = str(self.apiClient.toPathValue(params['userId']))
resourcePath = resourcePath.replace('{' + 'userId' + '}',
replacement)
postData = (params['body'] if 'body' in params else None)
return self.apiClient.callAPI(self.basePath, resourcePath, method, queryParams,
postData, headerParams, FileStream)

@@ -38,2 +38,3 @@ #!/usr/bin/env python

'createdOn': 'long',
'fontColor': 'int',
'fieldText': 'str',

@@ -58,2 +59,3 @@ 'fontFamily': 'str',

self.createdOn = None # long
self.fontColor = None # int
self.fieldText = None # str

@@ -60,0 +62,0 @@ self.fontFamily = None # str

@@ -27,2 +27,6 @@ #!/usr/bin/env python

'result_file_Id': 'str',
'source_file_Id': 'str',
'target_file_Id': 'str',
'source_file_name': 'str',
'target_file_name': 'str',
'changes': 'list[ChangeInfo]'

@@ -34,3 +38,7 @@

self.result_file_Id = None # str
self.source_file_Id = None # str
self.target_file_Id = None # str
self.source_file_name = None # str
self.target_file_name = None # str
self.changes = None # list[ChangeInfo]

@@ -31,3 +31,3 @@ #!/usr/bin/env python

'questionnaire_id': 'float',
'resolved_exectuions': 'int',
'resolved_executions': 'int',
'emails': 'list[str]',

@@ -44,5 +44,5 @@ 'modified': 'long'

self.questionnaire_id = None # float
self.resolved_exectuions = None # int
self.resolved_executions = None # int
self.emails = None # list[str]
self.modified = None # long

@@ -37,3 +37,5 @@ #!/usr/bin/env python

'modified': 'long',
'expires': 'long'
'expires': 'long',
'folder': 'str',
'emails': 'str'

@@ -55,2 +57,4 @@ }

self.expires = None # long
self.folder = None # str
self.emails = None # str

@@ -34,3 +34,5 @@ #!/usr/bin/env python

'modified': 'long',
'expires': 'long'
'expires': 'long',
'folder': 'str',
'emails': 'str'

@@ -49,2 +51,4 @@ }

self.expires = None # long
self.folder = None # str
self.emails = None # str

@@ -34,3 +34,3 @@ #!/usr/bin/env python

'getDataFrom': 'str',
'data': 'str',
'data': 'list[int]',
'fillTimeStamp': 'str',

@@ -55,3 +55,3 @@ 'signatureFieldId': 'float',

self.getDataFrom = None # str
self.data = None # str
self.data = None # list[int]
self.fillTimeStamp = None # str

@@ -58,0 +58,0 @@ self.signatureFieldId = None # float

@@ -40,3 +40,4 @@ #!/usr/bin/env python

'signatureLocation': 'str',
'signatureBrowser': 'str'
'signatureBrowser': 'str',
'embedUrl': 'str'

@@ -61,2 +62,3 @@ }

self.signatureBrowser = None # str
self.embedUrl = None # str

@@ -32,3 +32,3 @@ #!/usr/bin/env python

'regularExpression': 'str',
'data': 'str',
'data': 'list[int]',
'fillTimeStamp': 'str',

@@ -50,3 +50,3 @@ 'locations': 'list[SignatureFormFieldLocationInfo]',

self.regularExpression = None # str
self.data = None # str
self.data = None # list[int]
self.fillTimeStamp = None # str

@@ -53,0 +53,0 @@ self.locations = None # list[SignatureFormFieldLocationInfo]

@@ -32,3 +32,4 @@ #!/usr/bin/env python

'originalDocumentPagesCount': 'int',
'fieldsCount': 'int'
'fieldsCount': 'int',
'originalDocumentId': 'str'

@@ -45,2 +46,3 @@ }

self.fieldsCount = None # int
self.originalDocumentId = None # str

@@ -29,3 +29,5 @@ #!/usr/bin/env python

'doc_credits': 'int',
'avail_credits': 'int'
'avail_credits': 'int',
'total_documents': 'int',
'avail_documents': 'long'

@@ -39,2 +41,4 @@ }

self.avail_credits = None # int
self.total_documents = None # int
self.avail_documents = None # long

@@ -29,3 +29,3 @@ #!/usr/bin/env python

'type': 'str',
'token': 'str',
'token': 'list[int]',
'publicKey': 'str',

@@ -43,3 +43,3 @@ 'privateKey': 'str',

self.type = None # str
self.token = None # str
self.token = None # list[int]
self.publicKey = None # str

@@ -46,0 +46,0 @@ self.privateKey = None # str

@@ -32,2 +32,3 @@ #!/usr/bin/env python

'version': 'int',
'view_job_id': 'float',
'thumbnail': 'str',

@@ -46,2 +47,3 @@ 'id': 'float',

self.version = None # int
self.view_job_id = None # float
self.thumbnail = None # str

@@ -48,0 +50,0 @@ self.id = None # float

@@ -34,3 +34,3 @@ #!/usr/bin/env python

'storage': 'int',
'photo': 'str',
'photo': 'list[int]',
'active': 'bool',

@@ -44,2 +44,31 @@ 'trial': 'bool',

'viewer_branded': 'bool',
'is_real_time_broadcast_enabled': 'bool',
'is_scroll_broadcast_enabled': 'bool',
'is_zoom_broadcast_enabled': 'bool',
'annotation_logo': 'list[int]',
'pointer_tool_cursor': 'list[int]',
'annotation_header_options': 'int',
'is_annotation_navigation_widget_enabled': 'bool',
'is_annotation_zoom_widget_enabled': 'bool',
'is_annotation_download_widget_enabled': 'bool',
'is_annotation_print_widget_enabled': 'bool',
'is_annotation_help_widget_enabled': 'bool',
'is_right_panel_enabled': 'bool',
'is_thumbnails_panel_enabled': 'bool',
'is_standard_header_always_shown': 'bool',
'is_toolbar_enabled': 'bool',
'is_text_annotation_button_enabled': 'bool',
'is_rectangle_annotation_button_enabled': 'bool',
'is_point_annotation_button_enabled': 'bool',
'is_strikeout_annotation_button_enabled': 'bool',
'is_polyline_annotation_button_enabled': 'bool',
'is_typewriter_annotation_button_enabled': 'bool',
'is_watermark_annotation_button_enabled': 'bool',
'viewer_logo': 'list[int]',
'viewer_options': 'int',
'is_viewer_navigation_widget_enabled': 'bool',
'is_viewer_zoom_widget_enabled': 'bool',
'is_viewer_download_widget_enabled': 'bool',
'is_viewer_print_widget_enabled': 'bool',
'is_viewer_help_widget_enabled': 'bool',
'signedupOn': 'long',

@@ -64,3 +93,3 @@ 'signedinOn': 'long',

self.storage = None # int
self.photo = None # str
self.photo = None # list[int]
self.active = None # bool

@@ -74,2 +103,31 @@ self.trial = None # bool

self.viewer_branded = None # bool
self.is_real_time_broadcast_enabled = None # bool
self.is_scroll_broadcast_enabled = None # bool
self.is_zoom_broadcast_enabled = None # bool
self.annotation_logo = None # list[int]
self.pointer_tool_cursor = None # list[int]
self.annotation_header_options = None # int
self.is_annotation_navigation_widget_enabled = None # bool
self.is_annotation_zoom_widget_enabled = None # bool
self.is_annotation_download_widget_enabled = None # bool
self.is_annotation_print_widget_enabled = None # bool
self.is_annotation_help_widget_enabled = None # bool
self.is_right_panel_enabled = None # bool
self.is_thumbnails_panel_enabled = None # bool
self.is_standard_header_always_shown = None # bool
self.is_toolbar_enabled = None # bool
self.is_text_annotation_button_enabled = None # bool
self.is_rectangle_annotation_button_enabled = None # bool
self.is_point_annotation_button_enabled = None # bool
self.is_strikeout_annotation_button_enabled = None # bool
self.is_polyline_annotation_button_enabled = None # bool
self.is_typewriter_annotation_button_enabled = None # bool
self.is_watermark_annotation_button_enabled = None # bool
self.viewer_logo = None # list[int]
self.viewer_options = None # int
self.is_viewer_navigation_widget_enabled = None # bool
self.is_viewer_zoom_widget_enabled = None # bool
self.is_viewer_download_widget_enabled = None # bool
self.is_viewer_print_widget_enabled = None # bool
self.is_viewer_help_widget_enabled = None # bool
self.signedupOn = None # long

@@ -76,0 +134,0 @@ self.signedinOn = None # long

@@ -41,3 +41,3 @@ #!/usr/bin/env python

def Download(self, guid, **kwargs):
def Download(self, guid, fileName, **kwargs):
"""Download

@@ -47,3 +47,3 @@

guid, str: GUID (required)
fileName, str: File name (optional)
fileName, str: File name (required)
render, bool: Render (optional)

@@ -53,3 +53,3 @@

"""
if( guid == None ):
if( guid == None or fileName == None ):
raise ApiException(400, "missing required parameters")

@@ -56,0 +56,0 @@ allParams = ['guid', 'fileName', 'render']

@@ -537,4 +537,4 @@ #!/usr/bin/env python

mode, str: Mode (optional)
Groupdocs_Move, str: File ID (move) (optional)
Groupdocs_Copy, str: File ID (copy) (optional)
Groupdocs_Move, str: File ID (move) (optional)

@@ -545,3 +545,3 @@ Returns: FileMoveResponse

raise ApiException(400, "missing required parameters")
allParams = ['userId', 'path', 'mode', 'Groupdocs_Copy', 'Groupdocs_Move']
allParams = ['userId', 'path', 'mode', 'Groupdocs_Move', 'Groupdocs_Copy']

@@ -567,6 +567,6 @@ params = locals()

queryParams['mode'] = self.apiClient.toPathValue(params['mode'])
if ('Groupdocs_Move' in params):
headerParams['Groupdocs-Move'] = params['Groupdocs_Move']
if ('Groupdocs_Copy' in params):
headerParams['Groupdocs-Copy'] = params['Groupdocs_Copy']
if ('Groupdocs_Move' in params):
headerParams['Groupdocs-Move'] = params['Groupdocs_Move']
if ('userId' in params):

@@ -573,0 +573,0 @@ replacement = str(self.apiClient.toPathValue(params['userId']))

@@ -143,3 +143,3 @@ #!/usr/bin/env python

resourcePath = '/system/{callerId}/plans/{family}'.replace('*', '')
resourcePath = '/system/{callerId}/plans/{family}?invalidate={invalidate}'.replace('*', '')
resourcePath = resourcePath.replace('{format}', 'json')

@@ -304,4 +304,46 @@ method = 'GET'

def SetBillingAddress(self, userId, body, **kwargs):
"""Set user billing address
Args:
userId, str: User GUID (required)
body, BillingAddressInfo: Billing Address (required)
Returns: GetBillingAddressResponse
"""
if( userId == None or body == None ):
raise ApiException(400, "missing required parameters")
allParams = ['userId', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method SetBillingAddress" % key)
params[key] = val
del params['kwargs']
resourcePath = '/system/{userId}/billingaddress'.replace('*', '')
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
if ('userId' in params):
replacement = str(self.apiClient.toPathValue(params['userId']))
resourcePath = resourcePath.replace('{' + 'userId' + '}',
replacement)
postData = (params['body'] if 'body' in params else None)
response = self.apiClient.callAPI(self.basePath, resourcePath, method, queryParams,
postData, headerParams)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'GetBillingAddressResponse')
return responseObject
__pkgname__ = "groupdocs-python"
__version__ = "1.2.4"
__version__ = "1.3.0"
Metadata-Version: 1.1
Name: groupdocs-python
Version: 1.2.4
Version: 1.3.0
Summary: A Python interface to the GroupDocs API

@@ -5,0 +5,0 @@ Home-page: http://groupdocs.com/

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display