Skip to content

Commit

Permalink
Version 2.12.0rc1-v2-21.2.02.00 release (#124)
Browse files Browse the repository at this point in the history
Co-authored-by: Dhaval <d>
  • Loading branch information
dbbrahmbhatt authored Sep 8, 2021
1 parent 66f6348 commit 96ffe59
Show file tree
Hide file tree
Showing 357 changed files with 7,685 additions and 8,506 deletions.
2 changes: 1 addition & 1 deletion .swagger-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.13-SNAPSHOT
2.4.21-SNAPSHOT
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file.

See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.

## [2.12.0rc1] - eSignature API v2-21.2.02.00 - 2021-09-08
### Changed
- Added support for version v2-21.2.02.00 of the DocuSign eSignature API.
- Updated the SDK release version.
- The way all models take in init parameters using `kwargs`
- Updated to latest OpenAPI spec.

## [2.11.0] - eSignature API v2-2.11.0 - 2021-07-22
### Changed
- Added support for version v2-2.11.0 of the DocuSign eSignature API.
Expand Down
23 changes: 12 additions & 11 deletions docusign_esign/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,17 @@
from .apis.users_api import UsersApi
from .apis.workspaces_api import WorkspacesApi

# import ApiClient
from .client.api_client import ApiClient
from .client.configuration import Configuration
from .client.api_exception import ApiException

from .client.auth.oauth import OAuth
from .client.auth.oauth import OAuthToken
from .client.auth.oauth import Account
from .client.auth.oauth import Organization
from .client.auth.oauth import Link

# import models into sdk package
from docusign_esign.models.account_address import AccountAddress
from docusign_esign.models.account_billing_plan import AccountBillingPlan
Expand Down Expand Up @@ -388,15 +399,5 @@
from docusign_esign.models.workspace_user_authorization import WorkspaceUserAuthorization
from docusign_esign.models.zip import Zip

# import ApiClient
from .client.api_client import ApiClient
from .client.api_client import ApiException
from .client.auth.oauth import OAuth
from .client.auth.oauth import OAuthToken
from .client.auth.oauth import Account
from .client.auth.oauth import Organization
from .client.auth.oauth import Link

from .client.configuration import Configuration

configuration = Configuration()
configuration = Configuration()
4 changes: 2 additions & 2 deletions docusign_esign/client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ def __init__(self):
self.key_file = None

if PY3:
self.user_agent = 'Swagger-Codegen/v2/2.11.0/python3'
self.user_agent = 'Swagger-Codegen/v2/2.12.0rc1/python3'
else:
self.user_agent = 'Swagger-Codegen/v2/2.11.0/python2'
self.user_agent = 'Swagger-Codegen/v2/2.12.0rc1/python2'

@property
def logger_file(self):
Expand Down
50 changes: 23 additions & 27 deletions docusign_esign/models/account_address.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

import six

from docusign_esign.client.configuration import Configuration


class AccountAddress(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Expand Down Expand Up @@ -60,8 +62,11 @@ class AccountAddress(object):
'supported_countries': 'supportedCountries'
}

def __init__(self, address1=None, address2=None, city=None, country=None, email=None, fax=None, first_name=None, last_name=None, phone=None, postal_code=None, state=None, supported_countries=None): # noqa: E501
def __init__(self, _configuration=None, **kwargs): # noqa: E501
"""AccountAddress - a model defined in Swagger""" # noqa: E501
if _configuration is None:
_configuration = Configuration()
self._configuration = _configuration

self._address1 = None
self._address2 = None
Expand All @@ -77,30 +82,18 @@ def __init__(self, address1=None, address2=None, city=None, country=None, email=
self._supported_countries = None
self.discriminator = None

if address1 is not None:
self.address1 = address1
if address2 is not None:
self.address2 = address2
if city is not None:
self.city = city
if country is not None:
self.country = country
if email is not None:
self.email = email
if fax is not None:
self.fax = fax
if first_name is not None:
self.first_name = first_name
if last_name is not None:
self.last_name = last_name
if phone is not None:
self.phone = phone
if postal_code is not None:
self.postal_code = postal_code
if state is not None:
self.state = state
if supported_countries is not None:
self.supported_countries = supported_countries
setattr(self, "_{}".format('address1'), kwargs.get('address1', None))
setattr(self, "_{}".format('address2'), kwargs.get('address2', None))
setattr(self, "_{}".format('city'), kwargs.get('city', None))
setattr(self, "_{}".format('country'), kwargs.get('country', None))
setattr(self, "_{}".format('email'), kwargs.get('email', None))
setattr(self, "_{}".format('fax'), kwargs.get('fax', None))
setattr(self, "_{}".format('first_name'), kwargs.get('first_name', None))
setattr(self, "_{}".format('last_name'), kwargs.get('last_name', None))
setattr(self, "_{}".format('phone'), kwargs.get('phone', None))
setattr(self, "_{}".format('postal_code'), kwargs.get('postal_code', None))
setattr(self, "_{}".format('state'), kwargs.get('state', None))
setattr(self, "_{}".format('supported_countries'), kwargs.get('supported_countries', None))

@property
def address1(self):
Expand Down Expand Up @@ -418,8 +411,11 @@ def __eq__(self, other):
if not isinstance(other, AccountAddress):
return False

return self.__dict__ == other.__dict__
return self.to_dict() == other.to_dict()

def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
if not isinstance(other, AccountAddress):
return True

return self.to_dict() != other.to_dict()
89 changes: 36 additions & 53 deletions docusign_esign/models/account_billing_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

import six

from docusign_esign.client.configuration import Configuration


class AccountBillingPlan(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Expand Down Expand Up @@ -86,8 +88,11 @@ class AccountBillingPlan(object):
'support_plan_fee': 'supportPlanFee'
}

def __init__(self, add_ons=None, app_store_receipt_expiration_date=None, app_store_receipt_purchase_date=None, can_cancel_renewal=None, can_upgrade=None, currency_code=None, enable_support=None, included_seats=None, incremental_seats=None, is_downgrade=None, notification_type=None, other_discount_percent=None, payment_cycle=None, payment_method=None, per_seat_price=None, plan_classification=None, plan_feature_sets=None, plan_id=None, plan_name=None, plan_start_date=None, renewal_date=None, renewal_status=None, seat_discounts=None, support_incident_fee=None, support_plan_fee=None): # noqa: E501
def __init__(self, _configuration=None, **kwargs): # noqa: E501
"""AccountBillingPlan - a model defined in Swagger""" # noqa: E501
if _configuration is None:
_configuration = Configuration()
self._configuration = _configuration

self._add_ons = None
self._app_store_receipt_expiration_date = None
Expand Down Expand Up @@ -116,56 +121,31 @@ def __init__(self, add_ons=None, app_store_receipt_expiration_date=None, app_sto
self._support_plan_fee = None
self.discriminator = None

if add_ons is not None:
self.add_ons = add_ons
if app_store_receipt_expiration_date is not None:
self.app_store_receipt_expiration_date = app_store_receipt_expiration_date
if app_store_receipt_purchase_date is not None:
self.app_store_receipt_purchase_date = app_store_receipt_purchase_date
if can_cancel_renewal is not None:
self.can_cancel_renewal = can_cancel_renewal
if can_upgrade is not None:
self.can_upgrade = can_upgrade
if currency_code is not None:
self.currency_code = currency_code
if enable_support is not None:
self.enable_support = enable_support
if included_seats is not None:
self.included_seats = included_seats
if incremental_seats is not None:
self.incremental_seats = incremental_seats
if is_downgrade is not None:
self.is_downgrade = is_downgrade
if notification_type is not None:
self.notification_type = notification_type
if other_discount_percent is not None:
self.other_discount_percent = other_discount_percent
if payment_cycle is not None:
self.payment_cycle = payment_cycle
if payment_method is not None:
self.payment_method = payment_method
if per_seat_price is not None:
self.per_seat_price = per_seat_price
if plan_classification is not None:
self.plan_classification = plan_classification
if plan_feature_sets is not None:
self.plan_feature_sets = plan_feature_sets
if plan_id is not None:
self.plan_id = plan_id
if plan_name is not None:
self.plan_name = plan_name
if plan_start_date is not None:
self.plan_start_date = plan_start_date
if renewal_date is not None:
self.renewal_date = renewal_date
if renewal_status is not None:
self.renewal_status = renewal_status
if seat_discounts is not None:
self.seat_discounts = seat_discounts
if support_incident_fee is not None:
self.support_incident_fee = support_incident_fee
if support_plan_fee is not None:
self.support_plan_fee = support_plan_fee
setattr(self, "_{}".format('add_ons'), kwargs.get('add_ons', None))
setattr(self, "_{}".format('app_store_receipt_expiration_date'), kwargs.get('app_store_receipt_expiration_date', None))
setattr(self, "_{}".format('app_store_receipt_purchase_date'), kwargs.get('app_store_receipt_purchase_date', None))
setattr(self, "_{}".format('can_cancel_renewal'), kwargs.get('can_cancel_renewal', None))
setattr(self, "_{}".format('can_upgrade'), kwargs.get('can_upgrade', None))
setattr(self, "_{}".format('currency_code'), kwargs.get('currency_code', None))
setattr(self, "_{}".format('enable_support'), kwargs.get('enable_support', None))
setattr(self, "_{}".format('included_seats'), kwargs.get('included_seats', None))
setattr(self, "_{}".format('incremental_seats'), kwargs.get('incremental_seats', None))
setattr(self, "_{}".format('is_downgrade'), kwargs.get('is_downgrade', None))
setattr(self, "_{}".format('notification_type'), kwargs.get('notification_type', None))
setattr(self, "_{}".format('other_discount_percent'), kwargs.get('other_discount_percent', None))
setattr(self, "_{}".format('payment_cycle'), kwargs.get('payment_cycle', None))
setattr(self, "_{}".format('payment_method'), kwargs.get('payment_method', None))
setattr(self, "_{}".format('per_seat_price'), kwargs.get('per_seat_price', None))
setattr(self, "_{}".format('plan_classification'), kwargs.get('plan_classification', None))
setattr(self, "_{}".format('plan_feature_sets'), kwargs.get('plan_feature_sets', None))
setattr(self, "_{}".format('plan_id'), kwargs.get('plan_id', None))
setattr(self, "_{}".format('plan_name'), kwargs.get('plan_name', None))
setattr(self, "_{}".format('plan_start_date'), kwargs.get('plan_start_date', None))
setattr(self, "_{}".format('renewal_date'), kwargs.get('renewal_date', None))
setattr(self, "_{}".format('renewal_status'), kwargs.get('renewal_status', None))
setattr(self, "_{}".format('seat_discounts'), kwargs.get('seat_discounts', None))
setattr(self, "_{}".format('support_incident_fee'), kwargs.get('support_incident_fee', None))
setattr(self, "_{}".format('support_plan_fee'), kwargs.get('support_plan_fee', None))

@property
def add_ons(self):
Expand Down Expand Up @@ -782,8 +762,11 @@ def __eq__(self, other):
if not isinstance(other, AccountBillingPlan):
return False

return self.__dict__ == other.__dict__
return self.to_dict() == other.to_dict()

def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
if not isinstance(other, AccountBillingPlan):
return True

return self.to_dict() != other.to_dict()
35 changes: 18 additions & 17 deletions docusign_esign/models/account_billing_plan_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

import six

from docusign_esign.client.configuration import Configuration


class AccountBillingPlanResponse(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Expand Down Expand Up @@ -50,8 +52,11 @@ class AccountBillingPlanResponse(object):
'successor_plans': 'successorPlans'
}

def __init__(self, billing_address=None, billing_address_is_credit_card_address=None, billing_plan=None, credit_card_information=None, payment_processor_information=None, referral_information=None, successor_plans=None): # noqa: E501
def __init__(self, _configuration=None, **kwargs): # noqa: E501
"""AccountBillingPlanResponse - a model defined in Swagger""" # noqa: E501
if _configuration is None:
_configuration = Configuration()
self._configuration = _configuration

self._billing_address = None
self._billing_address_is_credit_card_address = None
Expand All @@ -62,20 +67,13 @@ def __init__(self, billing_address=None, billing_address_is_credit_card_address=
self._successor_plans = None
self.discriminator = None

if billing_address is not None:
self.billing_address = billing_address
if billing_address_is_credit_card_address is not None:
self.billing_address_is_credit_card_address = billing_address_is_credit_card_address
if billing_plan is not None:
self.billing_plan = billing_plan
if credit_card_information is not None:
self.credit_card_information = credit_card_information
if payment_processor_information is not None:
self.payment_processor_information = payment_processor_information
if referral_information is not None:
self.referral_information = referral_information
if successor_plans is not None:
self.successor_plans = successor_plans
setattr(self, "_{}".format('billing_address'), kwargs.get('billing_address', None))
setattr(self, "_{}".format('billing_address_is_credit_card_address'), kwargs.get('billing_address_is_credit_card_address', None))
setattr(self, "_{}".format('billing_plan'), kwargs.get('billing_plan', None))
setattr(self, "_{}".format('credit_card_information'), kwargs.get('credit_card_information', None))
setattr(self, "_{}".format('payment_processor_information'), kwargs.get('payment_processor_information', None))
setattr(self, "_{}".format('referral_information'), kwargs.get('referral_information', None))
setattr(self, "_{}".format('successor_plans'), kwargs.get('successor_plans', None))

@property
def billing_address(self):
Expand Down Expand Up @@ -268,8 +266,11 @@ def __eq__(self, other):
if not isinstance(other, AccountBillingPlanResponse):
return False

return self.__dict__ == other.__dict__
return self.to_dict() == other.to_dict()

def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
if not isinstance(other, AccountBillingPlanResponse):
return True

return self.to_dict() != other.to_dict()
17 changes: 12 additions & 5 deletions docusign_esign/models/account_identity_verification_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

import six

from docusign_esign.client.configuration import Configuration


class AccountIdentityVerificationResponse(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Expand All @@ -38,14 +40,16 @@ class AccountIdentityVerificationResponse(object):
'identity_verification': 'identityVerification'
}

def __init__(self, identity_verification=None): # noqa: E501
def __init__(self, _configuration=None, **kwargs): # noqa: E501
"""AccountIdentityVerificationResponse - a model defined in Swagger""" # noqa: E501
if _configuration is None:
_configuration = Configuration()
self._configuration = _configuration

self._identity_verification = None
self.discriminator = None

if identity_verification is not None:
self.identity_verification = identity_verification
setattr(self, "_{}".format('identity_verification'), kwargs.get('identity_verification', None))

@property
def identity_verification(self):
Expand Down Expand Up @@ -110,8 +114,11 @@ def __eq__(self, other):
if not isinstance(other, AccountIdentityVerificationResponse):
return False

return self.__dict__ == other.__dict__
return self.to_dict() == other.to_dict()

def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
if not isinstance(other, AccountIdentityVerificationResponse):
return True

return self.to_dict() != other.to_dict()
Loading

0 comments on commit 96ffe59

Please sign in to comment.