Module mailslurp_client.models.account_dto
MailSlurp API
MailSlurp is an API for sending and receiving emails and SMS from dynamically allocated email addresses and phone numbers. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - Homepage - Get an API KEY - Generated SDK Clients - Examples repository # noqa: E501
The version of the OpenAPI document: 6.5.2 Contact: contact@mailslurp.dev Generated by: https://openapi-generator.tech
Classes
class AccountDto (user=None, subscription=None, addons=None, intercom_hash=None, churnkey_hash=None, current_period=None, requires_verification=None, required_verification_types=None, default_currency=None, default_schedule=None, has_bad_subscription_item_statuses=None, trials_enabled=None, has_any_active_trial_subscription=None, can_end_trial=None, free_account_expires_in_days=None, free_account_expired=None, free_account_evaluation_denied=None, free_account_evaluation_denied_reason=None, free_account_evaluation_denied_allow_trial=None, free_account_mode=None, requires_terms_and_conditions_agreement=None, enforce_sending_agreement=None, admin_send_pause=None, organization_name=None, organization_slug=None, organization_brand_color=None, organization_logo_url=None, user_permission_role=None, environment_accounts=None, domain_plan_quantity=None, assigned_domain_count=None, effective_domain_limit=None, requires_dashboard_onboarding_v2=None, local_vars_configuration=None)-
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
AccountDto - a model defined in OpenAPI
Expand source code
class AccountDto(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. """ """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json key in definition. """ openapi_types = { 'user': 'UserDto', 'subscription': 'SubscriptionDto', 'addons': 'list[str]', 'intercom_hash': 'str', 'churnkey_hash': 'str', 'current_period': 'CurrentPeriodDto', 'requires_verification': 'bool', 'required_verification_types': 'list[str]', 'default_currency': 'str', 'default_schedule': 'str', 'has_bad_subscription_item_statuses': 'bool', 'trials_enabled': 'bool', 'has_any_active_trial_subscription': 'bool', 'can_end_trial': 'bool', 'free_account_expires_in_days': 'int', 'free_account_expired': 'bool', 'free_account_evaluation_denied': 'bool', 'free_account_evaluation_denied_reason': 'str', 'free_account_evaluation_denied_allow_trial': 'bool', 'free_account_mode': 'str', 'requires_terms_and_conditions_agreement': 'bool', 'enforce_sending_agreement': 'bool', 'admin_send_pause': 'AdminSendPauseDto', 'organization_name': 'str', 'organization_slug': 'str', 'organization_brand_color': 'str', 'organization_logo_url': 'str', 'user_permission_role': 'str', 'environment_accounts': 'EnvironmentAccountsDto', 'domain_plan_quantity': 'int', 'assigned_domain_count': 'int', 'effective_domain_limit': 'int', 'requires_dashboard_onboarding_v2': 'bool' } attribute_map = { 'user': 'user', 'subscription': 'subscription', 'addons': 'addons', 'intercom_hash': 'intercomHash', 'churnkey_hash': 'churnkeyHash', 'current_period': 'currentPeriod', 'requires_verification': 'requiresVerification', 'required_verification_types': 'requiredVerificationTypes', 'default_currency': 'defaultCurrency', 'default_schedule': 'defaultSchedule', 'has_bad_subscription_item_statuses': 'hasBadSubscriptionItemStatuses', 'trials_enabled': 'trialsEnabled', 'has_any_active_trial_subscription': 'hasAnyActiveTrialSubscription', 'can_end_trial': 'canEndTrial', 'free_account_expires_in_days': 'freeAccountExpiresInDays', 'free_account_expired': 'freeAccountExpired', 'free_account_evaluation_denied': 'freeAccountEvaluationDenied', 'free_account_evaluation_denied_reason': 'freeAccountEvaluationDeniedReason', 'free_account_evaluation_denied_allow_trial': 'freeAccountEvaluationDeniedAllowTrial', 'free_account_mode': 'freeAccountMode', 'requires_terms_and_conditions_agreement': 'requiresTermsAndConditionsAgreement', 'enforce_sending_agreement': 'enforceSendingAgreement', 'admin_send_pause': 'adminSendPause', 'organization_name': 'organizationName', 'organization_slug': 'organizationSlug', 'organization_brand_color': 'organizationBrandColor', 'organization_logo_url': 'organizationLogoUrl', 'user_permission_role': 'userPermissionRole', 'environment_accounts': 'environmentAccounts', 'domain_plan_quantity': 'domainPlanQuantity', 'assigned_domain_count': 'assignedDomainCount', 'effective_domain_limit': 'effectiveDomainLimit', 'requires_dashboard_onboarding_v2': 'requiresDashboardOnboardingV2' } def __init__(self, user=None, subscription=None, addons=None, intercom_hash=None, churnkey_hash=None, current_period=None, requires_verification=None, required_verification_types=None, default_currency=None, default_schedule=None, has_bad_subscription_item_statuses=None, trials_enabled=None, has_any_active_trial_subscription=None, can_end_trial=None, free_account_expires_in_days=None, free_account_expired=None, free_account_evaluation_denied=None, free_account_evaluation_denied_reason=None, free_account_evaluation_denied_allow_trial=None, free_account_mode=None, requires_terms_and_conditions_agreement=None, enforce_sending_agreement=None, admin_send_pause=None, organization_name=None, organization_slug=None, organization_brand_color=None, organization_logo_url=None, user_permission_role=None, environment_accounts=None, domain_plan_quantity=None, assigned_domain_count=None, effective_domain_limit=None, requires_dashboard_onboarding_v2=None, local_vars_configuration=None): # noqa: E501 """AccountDto - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._user = None self._subscription = None self._addons = None self._intercom_hash = None self._churnkey_hash = None self._current_period = None self._requires_verification = None self._required_verification_types = None self._default_currency = None self._default_schedule = None self._has_bad_subscription_item_statuses = None self._trials_enabled = None self._has_any_active_trial_subscription = None self._can_end_trial = None self._free_account_expires_in_days = None self._free_account_expired = None self._free_account_evaluation_denied = None self._free_account_evaluation_denied_reason = None self._free_account_evaluation_denied_allow_trial = None self._free_account_mode = None self._requires_terms_and_conditions_agreement = None self._enforce_sending_agreement = None self._admin_send_pause = None self._organization_name = None self._organization_slug = None self._organization_brand_color = None self._organization_logo_url = None self._user_permission_role = None self._environment_accounts = None self._domain_plan_quantity = None self._assigned_domain_count = None self._effective_domain_limit = None self._requires_dashboard_onboarding_v2 = None self.discriminator = None self.user = user self.subscription = subscription self.addons = addons self.intercom_hash = intercom_hash self.churnkey_hash = churnkey_hash self.current_period = current_period self.requires_verification = requires_verification self.required_verification_types = required_verification_types self.default_currency = default_currency self.default_schedule = default_schedule self.has_bad_subscription_item_statuses = has_bad_subscription_item_statuses self.trials_enabled = trials_enabled self.has_any_active_trial_subscription = has_any_active_trial_subscription self.can_end_trial = can_end_trial self.free_account_expires_in_days = free_account_expires_in_days self.free_account_expired = free_account_expired self.free_account_evaluation_denied = free_account_evaluation_denied self.free_account_evaluation_denied_reason = free_account_evaluation_denied_reason self.free_account_evaluation_denied_allow_trial = free_account_evaluation_denied_allow_trial self.free_account_mode = free_account_mode self.requires_terms_and_conditions_agreement = requires_terms_and_conditions_agreement self.enforce_sending_agreement = enforce_sending_agreement self.admin_send_pause = admin_send_pause self.organization_name = organization_name self.organization_slug = organization_slug self.organization_brand_color = organization_brand_color self.organization_logo_url = organization_logo_url self.user_permission_role = user_permission_role self.environment_accounts = environment_accounts self.domain_plan_quantity = domain_plan_quantity self.assigned_domain_count = assigned_domain_count self.effective_domain_limit = effective_domain_limit self.requires_dashboard_onboarding_v2 = requires_dashboard_onboarding_v2 @property def user(self): """Gets the user of this AccountDto. # noqa: E501 :return: The user of this AccountDto. # noqa: E501 :rtype: UserDto """ return self._user @user.setter def user(self, user): """Sets the user of this AccountDto. :param user: The user of this AccountDto. # noqa: E501 :type: UserDto """ if self.local_vars_configuration.client_side_validation and user is None: # noqa: E501 raise ValueError("Invalid value for `user`, must not be `None`") # noqa: E501 self._user = user @property def subscription(self): """Gets the subscription of this AccountDto. # noqa: E501 :return: The subscription of this AccountDto. # noqa: E501 :rtype: SubscriptionDto """ return self._subscription @subscription.setter def subscription(self, subscription): """Sets the subscription of this AccountDto. :param subscription: The subscription of this AccountDto. # noqa: E501 :type: SubscriptionDto """ self._subscription = subscription @property def addons(self): """Gets the addons of this AccountDto. # noqa: E501 :return: The addons of this AccountDto. # noqa: E501 :rtype: list[str] """ return self._addons @addons.setter def addons(self, addons): """Sets the addons of this AccountDto. :param addons: The addons of this AccountDto. # noqa: E501 :type: list[str] """ allowed_values = [None,"STORAGE", "INBOXES", "CONNECTORS", "DOMAIN_MONITOR", "DEVICE_RENDER", "INBOX_PLACEMENT_TESTS", "WARMUP_SENDERS", "WARMUP_USAGE", "EMAILS", "AI", "VALIDATION", "GUEST"] # noqa: E501 if (self.local_vars_configuration.client_side_validation and not set(addons).issubset(set(allowed_values))): # noqa: E501 raise ValueError( "Invalid values for `addons` [{0}], must be a subset of [{1}]" # noqa: E501 .format(", ".join(map(str, set(addons) - set(allowed_values))), # noqa: E501 ", ".join(map(str, allowed_values))) ) self._addons = addons @property def intercom_hash(self): """Gets the intercom_hash of this AccountDto. # noqa: E501 disabled # noqa: E501 :return: The intercom_hash of this AccountDto. # noqa: E501 :rtype: str """ return self._intercom_hash @intercom_hash.setter def intercom_hash(self, intercom_hash): """Sets the intercom_hash of this AccountDto. disabled # noqa: E501 :param intercom_hash: The intercom_hash of this AccountDto. # noqa: E501 :type: str """ self._intercom_hash = intercom_hash @property def churnkey_hash(self): """Gets the churnkey_hash of this AccountDto. # noqa: E501 disabled # noqa: E501 :return: The churnkey_hash of this AccountDto. # noqa: E501 :rtype: str """ return self._churnkey_hash @churnkey_hash.setter def churnkey_hash(self, churnkey_hash): """Sets the churnkey_hash of this AccountDto. disabled # noqa: E501 :param churnkey_hash: The churnkey_hash of this AccountDto. # noqa: E501 :type: str """ self._churnkey_hash = churnkey_hash @property def current_period(self): """Gets the current_period of this AccountDto. # noqa: E501 :return: The current_period of this AccountDto. # noqa: E501 :rtype: CurrentPeriodDto """ return self._current_period @current_period.setter def current_period(self, current_period): """Sets the current_period of this AccountDto. :param current_period: The current_period of this AccountDto. # noqa: E501 :type: CurrentPeriodDto """ if self.local_vars_configuration.client_side_validation and current_period is None: # noqa: E501 raise ValueError("Invalid value for `current_period`, must not be `None`") # noqa: E501 self._current_period = current_period @property def requires_verification(self): """Gets the requires_verification of this AccountDto. # noqa: E501 :return: The requires_verification of this AccountDto. # noqa: E501 :rtype: bool """ return self._requires_verification @requires_verification.setter def requires_verification(self, requires_verification): """Sets the requires_verification of this AccountDto. :param requires_verification: The requires_verification of this AccountDto. # noqa: E501 :type: bool """ if self.local_vars_configuration.client_side_validation and requires_verification is None: # noqa: E501 raise ValueError("Invalid value for `requires_verification`, must not be `None`") # noqa: E501 self._requires_verification = requires_verification @property def required_verification_types(self): """Gets the required_verification_types of this AccountDto. # noqa: E501 :return: The required_verification_types of this AccountDto. # noqa: E501 :rtype: list[str] """ return self._required_verification_types @required_verification_types.setter def required_verification_types(self, required_verification_types): """Sets the required_verification_types of this AccountDto. :param required_verification_types: The required_verification_types of this AccountDto. # noqa: E501 :type: list[str] """ allowed_values = [None,"EMAIL_ADDRESS", "PHONE_NUMBER"] # noqa: E501 if (self.local_vars_configuration.client_side_validation and not set(required_verification_types).issubset(set(allowed_values))): # noqa: E501 raise ValueError( "Invalid values for `required_verification_types` [{0}], must be a subset of [{1}]" # noqa: E501 .format(", ".join(map(str, set(required_verification_types) - set(allowed_values))), # noqa: E501 ", ".join(map(str, allowed_values))) ) self._required_verification_types = required_verification_types @property def default_currency(self): """Gets the default_currency of this AccountDto. # noqa: E501 :return: The default_currency of this AccountDto. # noqa: E501 :rtype: str """ return self._default_currency @default_currency.setter def default_currency(self, default_currency): """Sets the default_currency of this AccountDto. :param default_currency: The default_currency of this AccountDto. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and default_currency is None: # noqa: E501 raise ValueError("Invalid value for `default_currency`, must not be `None`") # noqa: E501 allowed_values = ["EUR", "USD", "JPY", "GBP", "AUD", "CAD", "CHF", "CNY", "INR", "NZD"] # noqa: E501 if self.local_vars_configuration.client_side_validation and default_currency not in allowed_values: # noqa: E501 raise ValueError( "Invalid value for `default_currency` ({0}), must be one of {1}" # noqa: E501 .format(default_currency, allowed_values) ) self._default_currency = default_currency @property def default_schedule(self): """Gets the default_schedule of this AccountDto. # noqa: E501 :return: The default_schedule of this AccountDto. # noqa: E501 :rtype: str """ return self._default_schedule @default_schedule.setter def default_schedule(self, default_schedule): """Sets the default_schedule of this AccountDto. :param default_schedule: The default_schedule of this AccountDto. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and default_schedule is None: # noqa: E501 raise ValueError("Invalid value for `default_schedule`, must not be `None`") # noqa: E501 allowed_values = ["MONTHLY", "YEARLY"] # noqa: E501 if self.local_vars_configuration.client_side_validation and default_schedule not in allowed_values: # noqa: E501 raise ValueError( "Invalid value for `default_schedule` ({0}), must be one of {1}" # noqa: E501 .format(default_schedule, allowed_values) ) self._default_schedule = default_schedule @property def has_bad_subscription_item_statuses(self): """Gets the has_bad_subscription_item_statuses of this AccountDto. # noqa: E501 :return: The has_bad_subscription_item_statuses of this AccountDto. # noqa: E501 :rtype: bool """ return self._has_bad_subscription_item_statuses @has_bad_subscription_item_statuses.setter def has_bad_subscription_item_statuses(self, has_bad_subscription_item_statuses): """Sets the has_bad_subscription_item_statuses of this AccountDto. :param has_bad_subscription_item_statuses: The has_bad_subscription_item_statuses of this AccountDto. # noqa: E501 :type: bool """ self._has_bad_subscription_item_statuses = has_bad_subscription_item_statuses @property def trials_enabled(self): """Gets the trials_enabled of this AccountDto. # noqa: E501 :return: The trials_enabled of this AccountDto. # noqa: E501 :rtype: bool """ return self._trials_enabled @trials_enabled.setter def trials_enabled(self, trials_enabled): """Sets the trials_enabled of this AccountDto. :param trials_enabled: The trials_enabled of this AccountDto. # noqa: E501 :type: bool """ if self.local_vars_configuration.client_side_validation and trials_enabled is None: # noqa: E501 raise ValueError("Invalid value for `trials_enabled`, must not be `None`") # noqa: E501 self._trials_enabled = trials_enabled @property def has_any_active_trial_subscription(self): """Gets the has_any_active_trial_subscription of this AccountDto. # noqa: E501 :return: The has_any_active_trial_subscription of this AccountDto. # noqa: E501 :rtype: bool """ return self._has_any_active_trial_subscription @has_any_active_trial_subscription.setter def has_any_active_trial_subscription(self, has_any_active_trial_subscription): """Sets the has_any_active_trial_subscription of this AccountDto. :param has_any_active_trial_subscription: The has_any_active_trial_subscription of this AccountDto. # noqa: E501 :type: bool """ if self.local_vars_configuration.client_side_validation and has_any_active_trial_subscription is None: # noqa: E501 raise ValueError("Invalid value for `has_any_active_trial_subscription`, must not be `None`") # noqa: E501 self._has_any_active_trial_subscription = has_any_active_trial_subscription @property def can_end_trial(self): """Gets the can_end_trial of this AccountDto. # noqa: E501 :return: The can_end_trial of this AccountDto. # noqa: E501 :rtype: bool """ return self._can_end_trial @can_end_trial.setter def can_end_trial(self, can_end_trial): """Sets the can_end_trial of this AccountDto. :param can_end_trial: The can_end_trial of this AccountDto. # noqa: E501 :type: bool """ if self.local_vars_configuration.client_side_validation and can_end_trial is None: # noqa: E501 raise ValueError("Invalid value for `can_end_trial`, must not be `None`") # noqa: E501 self._can_end_trial = can_end_trial @property def free_account_expires_in_days(self): """Gets the free_account_expires_in_days of this AccountDto. # noqa: E501 :return: The free_account_expires_in_days of this AccountDto. # noqa: E501 :rtype: int """ return self._free_account_expires_in_days @free_account_expires_in_days.setter def free_account_expires_in_days(self, free_account_expires_in_days): """Sets the free_account_expires_in_days of this AccountDto. :param free_account_expires_in_days: The free_account_expires_in_days of this AccountDto. # noqa: E501 :type: int """ self._free_account_expires_in_days = free_account_expires_in_days @property def free_account_expired(self): """Gets the free_account_expired of this AccountDto. # noqa: E501 :return: The free_account_expired of this AccountDto. # noqa: E501 :rtype: bool """ return self._free_account_expired @free_account_expired.setter def free_account_expired(self, free_account_expired): """Sets the free_account_expired of this AccountDto. :param free_account_expired: The free_account_expired of this AccountDto. # noqa: E501 :type: bool """ if self.local_vars_configuration.client_side_validation and free_account_expired is None: # noqa: E501 raise ValueError("Invalid value for `free_account_expired`, must not be `None`") # noqa: E501 self._free_account_expired = free_account_expired @property def free_account_evaluation_denied(self): """Gets the free_account_evaluation_denied of this AccountDto. # noqa: E501 :return: The free_account_evaluation_denied of this AccountDto. # noqa: E501 :rtype: bool """ return self._free_account_evaluation_denied @free_account_evaluation_denied.setter def free_account_evaluation_denied(self, free_account_evaluation_denied): """Sets the free_account_evaluation_denied of this AccountDto. :param free_account_evaluation_denied: The free_account_evaluation_denied of this AccountDto. # noqa: E501 :type: bool """ if self.local_vars_configuration.client_side_validation and free_account_evaluation_denied is None: # noqa: E501 raise ValueError("Invalid value for `free_account_evaluation_denied`, must not be `None`") # noqa: E501 self._free_account_evaluation_denied = free_account_evaluation_denied @property def free_account_evaluation_denied_reason(self): """Gets the free_account_evaluation_denied_reason of this AccountDto. # noqa: E501 :return: The free_account_evaluation_denied_reason of this AccountDto. # noqa: E501 :rtype: str """ return self._free_account_evaluation_denied_reason @free_account_evaluation_denied_reason.setter def free_account_evaluation_denied_reason(self, free_account_evaluation_denied_reason): """Sets the free_account_evaluation_denied_reason of this AccountDto. :param free_account_evaluation_denied_reason: The free_account_evaluation_denied_reason of this AccountDto. # noqa: E501 :type: str """ allowed_values = [None,"COUNTRY", "DOMAIN", "FREE_EMAIL_PROVIDER"] # noqa: E501 if self.local_vars_configuration.client_side_validation and free_account_evaluation_denied_reason not in allowed_values: # noqa: E501 raise ValueError( "Invalid value for `free_account_evaluation_denied_reason` ({0}), must be one of {1}" # noqa: E501 .format(free_account_evaluation_denied_reason, allowed_values) ) self._free_account_evaluation_denied_reason = free_account_evaluation_denied_reason @property def free_account_evaluation_denied_allow_trial(self): """Gets the free_account_evaluation_denied_allow_trial of this AccountDto. # noqa: E501 :return: The free_account_evaluation_denied_allow_trial of this AccountDto. # noqa: E501 :rtype: bool """ return self._free_account_evaluation_denied_allow_trial @free_account_evaluation_denied_allow_trial.setter def free_account_evaluation_denied_allow_trial(self, free_account_evaluation_denied_allow_trial): """Sets the free_account_evaluation_denied_allow_trial of this AccountDto. :param free_account_evaluation_denied_allow_trial: The free_account_evaluation_denied_allow_trial of this AccountDto. # noqa: E501 :type: bool """ if self.local_vars_configuration.client_side_validation and free_account_evaluation_denied_allow_trial is None: # noqa: E501 raise ValueError("Invalid value for `free_account_evaluation_denied_allow_trial`, must not be `None`") # noqa: E501 self._free_account_evaluation_denied_allow_trial = free_account_evaluation_denied_allow_trial @property def free_account_mode(self): """Gets the free_account_mode of this AccountDto. # noqa: E501 :return: The free_account_mode of this AccountDto. # noqa: E501 :rtype: str """ return self._free_account_mode @free_account_mode.setter def free_account_mode(self, free_account_mode): """Sets the free_account_mode of this AccountDto. :param free_account_mode: The free_account_mode of this AccountDto. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and free_account_mode is None: # noqa: E501 raise ValueError("Invalid value for `free_account_mode`, must not be `None`") # noqa: E501 allowed_values = ["NONE", "LEGACY_EVALUATION", "PERMANENT_SANDBOX"] # noqa: E501 if self.local_vars_configuration.client_side_validation and free_account_mode not in allowed_values: # noqa: E501 raise ValueError( "Invalid value for `free_account_mode` ({0}), must be one of {1}" # noqa: E501 .format(free_account_mode, allowed_values) ) self._free_account_mode = free_account_mode @property def requires_terms_and_conditions_agreement(self): """Gets the requires_terms_and_conditions_agreement of this AccountDto. # noqa: E501 :return: The requires_terms_and_conditions_agreement of this AccountDto. # noqa: E501 :rtype: bool """ return self._requires_terms_and_conditions_agreement @requires_terms_and_conditions_agreement.setter def requires_terms_and_conditions_agreement(self, requires_terms_and_conditions_agreement): """Sets the requires_terms_and_conditions_agreement of this AccountDto. :param requires_terms_and_conditions_agreement: The requires_terms_and_conditions_agreement of this AccountDto. # noqa: E501 :type: bool """ self._requires_terms_and_conditions_agreement = requires_terms_and_conditions_agreement @property def enforce_sending_agreement(self): """Gets the enforce_sending_agreement of this AccountDto. # noqa: E501 :return: The enforce_sending_agreement of this AccountDto. # noqa: E501 :rtype: bool """ return self._enforce_sending_agreement @enforce_sending_agreement.setter def enforce_sending_agreement(self, enforce_sending_agreement): """Sets the enforce_sending_agreement of this AccountDto. :param enforce_sending_agreement: The enforce_sending_agreement of this AccountDto. # noqa: E501 :type: bool """ if self.local_vars_configuration.client_side_validation and enforce_sending_agreement is None: # noqa: E501 raise ValueError("Invalid value for `enforce_sending_agreement`, must not be `None`") # noqa: E501 self._enforce_sending_agreement = enforce_sending_agreement @property def admin_send_pause(self): """Gets the admin_send_pause of this AccountDto. # noqa: E501 :return: The admin_send_pause of this AccountDto. # noqa: E501 :rtype: AdminSendPauseDto """ return self._admin_send_pause @admin_send_pause.setter def admin_send_pause(self, admin_send_pause): """Sets the admin_send_pause of this AccountDto. :param admin_send_pause: The admin_send_pause of this AccountDto. # noqa: E501 :type: AdminSendPauseDto """ self._admin_send_pause = admin_send_pause @property def organization_name(self): """Gets the organization_name of this AccountDto. # noqa: E501 :return: The organization_name of this AccountDto. # noqa: E501 :rtype: str """ return self._organization_name @organization_name.setter def organization_name(self, organization_name): """Sets the organization_name of this AccountDto. :param organization_name: The organization_name of this AccountDto. # noqa: E501 :type: str """ self._organization_name = organization_name @property def organization_slug(self): """Gets the organization_slug of this AccountDto. # noqa: E501 :return: The organization_slug of this AccountDto. # noqa: E501 :rtype: str """ return self._organization_slug @organization_slug.setter def organization_slug(self, organization_slug): """Sets the organization_slug of this AccountDto. :param organization_slug: The organization_slug of this AccountDto. # noqa: E501 :type: str """ self._organization_slug = organization_slug @property def organization_brand_color(self): """Gets the organization_brand_color of this AccountDto. # noqa: E501 :return: The organization_brand_color of this AccountDto. # noqa: E501 :rtype: str """ return self._organization_brand_color @organization_brand_color.setter def organization_brand_color(self, organization_brand_color): """Sets the organization_brand_color of this AccountDto. :param organization_brand_color: The organization_brand_color of this AccountDto. # noqa: E501 :type: str """ self._organization_brand_color = organization_brand_color @property def organization_logo_url(self): """Gets the organization_logo_url of this AccountDto. # noqa: E501 :return: The organization_logo_url of this AccountDto. # noqa: E501 :rtype: str """ return self._organization_logo_url @organization_logo_url.setter def organization_logo_url(self, organization_logo_url): """Sets the organization_logo_url of this AccountDto. :param organization_logo_url: The organization_logo_url of this AccountDto. # noqa: E501 :type: str """ self._organization_logo_url = organization_logo_url @property def user_permission_role(self): """Gets the user_permission_role of this AccountDto. # noqa: E501 :return: The user_permission_role of this AccountDto. # noqa: E501 :rtype: str """ return self._user_permission_role @user_permission_role.setter def user_permission_role(self, user_permission_role): """Sets the user_permission_role of this AccountDto. :param user_permission_role: The user_permission_role of this AccountDto. # noqa: E501 :type: str """ self._user_permission_role = user_permission_role @property def environment_accounts(self): """Gets the environment_accounts of this AccountDto. # noqa: E501 :return: The environment_accounts of this AccountDto. # noqa: E501 :rtype: EnvironmentAccountsDto """ return self._environment_accounts @environment_accounts.setter def environment_accounts(self, environment_accounts): """Sets the environment_accounts of this AccountDto. :param environment_accounts: The environment_accounts of this AccountDto. # noqa: E501 :type: EnvironmentAccountsDto """ self._environment_accounts = environment_accounts @property def domain_plan_quantity(self): """Gets the domain_plan_quantity of this AccountDto. # noqa: E501 :return: The domain_plan_quantity of this AccountDto. # noqa: E501 :rtype: int """ return self._domain_plan_quantity @domain_plan_quantity.setter def domain_plan_quantity(self, domain_plan_quantity): """Sets the domain_plan_quantity of this AccountDto. :param domain_plan_quantity: The domain_plan_quantity of this AccountDto. # noqa: E501 :type: int """ if self.local_vars_configuration.client_side_validation and domain_plan_quantity is None: # noqa: E501 raise ValueError("Invalid value for `domain_plan_quantity`, must not be `None`") # noqa: E501 self._domain_plan_quantity = domain_plan_quantity @property def assigned_domain_count(self): """Gets the assigned_domain_count of this AccountDto. # noqa: E501 :return: The assigned_domain_count of this AccountDto. # noqa: E501 :rtype: int """ return self._assigned_domain_count @assigned_domain_count.setter def assigned_domain_count(self, assigned_domain_count): """Sets the assigned_domain_count of this AccountDto. :param assigned_domain_count: The assigned_domain_count of this AccountDto. # noqa: E501 :type: int """ if self.local_vars_configuration.client_side_validation and assigned_domain_count is None: # noqa: E501 raise ValueError("Invalid value for `assigned_domain_count`, must not be `None`") # noqa: E501 self._assigned_domain_count = assigned_domain_count @property def effective_domain_limit(self): """Gets the effective_domain_limit of this AccountDto. # noqa: E501 :return: The effective_domain_limit of this AccountDto. # noqa: E501 :rtype: int """ return self._effective_domain_limit @effective_domain_limit.setter def effective_domain_limit(self, effective_domain_limit): """Sets the effective_domain_limit of this AccountDto. :param effective_domain_limit: The effective_domain_limit of this AccountDto. # noqa: E501 :type: int """ self._effective_domain_limit = effective_domain_limit @property def requires_dashboard_onboarding_v2(self): """Gets the requires_dashboard_onboarding_v2 of this AccountDto. # noqa: E501 :return: The requires_dashboard_onboarding_v2 of this AccountDto. # noqa: E501 :rtype: bool """ return self._requires_dashboard_onboarding_v2 @requires_dashboard_onboarding_v2.setter def requires_dashboard_onboarding_v2(self, requires_dashboard_onboarding_v2): """Sets the requires_dashboard_onboarding_v2 of this AccountDto. :param requires_dashboard_onboarding_v2: The requires_dashboard_onboarding_v2 of this AccountDto. # noqa: E501 :type: bool """ if self.local_vars_configuration.client_side_validation and requires_dashboard_onboarding_v2 is None: # noqa: E501 raise ValueError("Invalid value for `requires_dashboard_onboarding_v2`, must not be `None`") # noqa: E501 self._requires_dashboard_onboarding_v2 = requires_dashboard_onboarding_v2 def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if hasattr(x, "to_dict") else x, value )) elif hasattr(value, "to_dict"): result[attr] = value.to_dict() elif isinstance(value, dict): result[attr] = dict(map( lambda item: (item[0], item[1].to_dict()) if hasattr(item[1], "to_dict") else item, value.items() )) else: result[attr] = value return result def to_str(self): """Returns the string representation of the model""" return pprint.pformat(self.to_dict()) def __repr__(self): """For `print` and `pprint`""" return self.to_str() def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, AccountDto): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, AccountDto): return True return self.to_dict() != other.to_dict()Class variables
var attribute_mapvar openapi_types
Instance variables
prop addons-
Gets the addons of this AccountDto. # noqa: E501
:return: The addons of this AccountDto. # noqa: E501 :rtype: list[str]
Expand source code
@property def addons(self): """Gets the addons of this AccountDto. # noqa: E501 :return: The addons of this AccountDto. # noqa: E501 :rtype: list[str] """ return self._addons prop admin_send_pause-
Gets the admin_send_pause of this AccountDto. # noqa: E501
:return: The admin_send_pause of this AccountDto. # noqa: E501 :rtype: AdminSendPauseDto
Expand source code
@property def admin_send_pause(self): """Gets the admin_send_pause of this AccountDto. # noqa: E501 :return: The admin_send_pause of this AccountDto. # noqa: E501 :rtype: AdminSendPauseDto """ return self._admin_send_pause prop assigned_domain_count-
Gets the assigned_domain_count of this AccountDto. # noqa: E501
:return: The assigned_domain_count of this AccountDto. # noqa: E501 :rtype: int
Expand source code
@property def assigned_domain_count(self): """Gets the assigned_domain_count of this AccountDto. # noqa: E501 :return: The assigned_domain_count of this AccountDto. # noqa: E501 :rtype: int """ return self._assigned_domain_count prop can_end_trial-
Gets the can_end_trial of this AccountDto. # noqa: E501
:return: The can_end_trial of this AccountDto. # noqa: E501 :rtype: bool
Expand source code
@property def can_end_trial(self): """Gets the can_end_trial of this AccountDto. # noqa: E501 :return: The can_end_trial of this AccountDto. # noqa: E501 :rtype: bool """ return self._can_end_trial prop churnkey_hash-
Gets the churnkey_hash of this AccountDto. # noqa: E501
disabled # noqa: E501
:return: The churnkey_hash of this AccountDto. # noqa: E501 :rtype: str
Expand source code
@property def churnkey_hash(self): """Gets the churnkey_hash of this AccountDto. # noqa: E501 disabled # noqa: E501 :return: The churnkey_hash of this AccountDto. # noqa: E501 :rtype: str """ return self._churnkey_hash prop current_period-
Gets the current_period of this AccountDto. # noqa: E501
:return: The current_period of this AccountDto. # noqa: E501 :rtype: CurrentPeriodDto
Expand source code
@property def current_period(self): """Gets the current_period of this AccountDto. # noqa: E501 :return: The current_period of this AccountDto. # noqa: E501 :rtype: CurrentPeriodDto """ return self._current_period prop default_currency-
Gets the default_currency of this AccountDto. # noqa: E501
:return: The default_currency of this AccountDto. # noqa: E501 :rtype: str
Expand source code
@property def default_currency(self): """Gets the default_currency of this AccountDto. # noqa: E501 :return: The default_currency of this AccountDto. # noqa: E501 :rtype: str """ return self._default_currency prop default_schedule-
Gets the default_schedule of this AccountDto. # noqa: E501
:return: The default_schedule of this AccountDto. # noqa: E501 :rtype: str
Expand source code
@property def default_schedule(self): """Gets the default_schedule of this AccountDto. # noqa: E501 :return: The default_schedule of this AccountDto. # noqa: E501 :rtype: str """ return self._default_schedule prop domain_plan_quantity-
Gets the domain_plan_quantity of this AccountDto. # noqa: E501
:return: The domain_plan_quantity of this AccountDto. # noqa: E501 :rtype: int
Expand source code
@property def domain_plan_quantity(self): """Gets the domain_plan_quantity of this AccountDto. # noqa: E501 :return: The domain_plan_quantity of this AccountDto. # noqa: E501 :rtype: int """ return self._domain_plan_quantity prop effective_domain_limit-
Gets the effective_domain_limit of this AccountDto. # noqa: E501
:return: The effective_domain_limit of this AccountDto. # noqa: E501 :rtype: int
Expand source code
@property def effective_domain_limit(self): """Gets the effective_domain_limit of this AccountDto. # noqa: E501 :return: The effective_domain_limit of this AccountDto. # noqa: E501 :rtype: int """ return self._effective_domain_limit prop enforce_sending_agreement-
Gets the enforce_sending_agreement of this AccountDto. # noqa: E501
:return: The enforce_sending_agreement of this AccountDto. # noqa: E501 :rtype: bool
Expand source code
@property def enforce_sending_agreement(self): """Gets the enforce_sending_agreement of this AccountDto. # noqa: E501 :return: The enforce_sending_agreement of this AccountDto. # noqa: E501 :rtype: bool """ return self._enforce_sending_agreement prop environment_accounts-
Gets the environment_accounts of this AccountDto. # noqa: E501
:return: The environment_accounts of this AccountDto. # noqa: E501 :rtype: EnvironmentAccountsDto
Expand source code
@property def environment_accounts(self): """Gets the environment_accounts of this AccountDto. # noqa: E501 :return: The environment_accounts of this AccountDto. # noqa: E501 :rtype: EnvironmentAccountsDto """ return self._environment_accounts prop free_account_evaluation_denied-
Gets the free_account_evaluation_denied of this AccountDto. # noqa: E501
:return: The free_account_evaluation_denied of this AccountDto. # noqa: E501 :rtype: bool
Expand source code
@property def free_account_evaluation_denied(self): """Gets the free_account_evaluation_denied of this AccountDto. # noqa: E501 :return: The free_account_evaluation_denied of this AccountDto. # noqa: E501 :rtype: bool """ return self._free_account_evaluation_denied prop free_account_evaluation_denied_allow_trial-
Gets the free_account_evaluation_denied_allow_trial of this AccountDto. # noqa: E501
:return: The free_account_evaluation_denied_allow_trial of this AccountDto. # noqa: E501 :rtype: bool
Expand source code
@property def free_account_evaluation_denied_allow_trial(self): """Gets the free_account_evaluation_denied_allow_trial of this AccountDto. # noqa: E501 :return: The free_account_evaluation_denied_allow_trial of this AccountDto. # noqa: E501 :rtype: bool """ return self._free_account_evaluation_denied_allow_trial prop free_account_evaluation_denied_reason-
Gets the free_account_evaluation_denied_reason of this AccountDto. # noqa: E501
:return: The free_account_evaluation_denied_reason of this AccountDto. # noqa: E501 :rtype: str
Expand source code
@property def free_account_evaluation_denied_reason(self): """Gets the free_account_evaluation_denied_reason of this AccountDto. # noqa: E501 :return: The free_account_evaluation_denied_reason of this AccountDto. # noqa: E501 :rtype: str """ return self._free_account_evaluation_denied_reason prop free_account_expired-
Gets the free_account_expired of this AccountDto. # noqa: E501
:return: The free_account_expired of this AccountDto. # noqa: E501 :rtype: bool
Expand source code
@property def free_account_expired(self): """Gets the free_account_expired of this AccountDto. # noqa: E501 :return: The free_account_expired of this AccountDto. # noqa: E501 :rtype: bool """ return self._free_account_expired prop free_account_expires_in_days-
Gets the free_account_expires_in_days of this AccountDto. # noqa: E501
:return: The free_account_expires_in_days of this AccountDto. # noqa: E501 :rtype: int
Expand source code
@property def free_account_expires_in_days(self): """Gets the free_account_expires_in_days of this AccountDto. # noqa: E501 :return: The free_account_expires_in_days of this AccountDto. # noqa: E501 :rtype: int """ return self._free_account_expires_in_days prop free_account_mode-
Gets the free_account_mode of this AccountDto. # noqa: E501
:return: The free_account_mode of this AccountDto. # noqa: E501 :rtype: str
Expand source code
@property def free_account_mode(self): """Gets the free_account_mode of this AccountDto. # noqa: E501 :return: The free_account_mode of this AccountDto. # noqa: E501 :rtype: str """ return self._free_account_mode prop has_any_active_trial_subscription-
Gets the has_any_active_trial_subscription of this AccountDto. # noqa: E501
:return: The has_any_active_trial_subscription of this AccountDto. # noqa: E501 :rtype: bool
Expand source code
@property def has_any_active_trial_subscription(self): """Gets the has_any_active_trial_subscription of this AccountDto. # noqa: E501 :return: The has_any_active_trial_subscription of this AccountDto. # noqa: E501 :rtype: bool """ return self._has_any_active_trial_subscription prop has_bad_subscription_item_statuses-
Gets the has_bad_subscription_item_statuses of this AccountDto. # noqa: E501
:return: The has_bad_subscription_item_statuses of this AccountDto. # noqa: E501 :rtype: bool
Expand source code
@property def has_bad_subscription_item_statuses(self): """Gets the has_bad_subscription_item_statuses of this AccountDto. # noqa: E501 :return: The has_bad_subscription_item_statuses of this AccountDto. # noqa: E501 :rtype: bool """ return self._has_bad_subscription_item_statuses prop intercom_hash-
Gets the intercom_hash of this AccountDto. # noqa: E501
disabled # noqa: E501
:return: The intercom_hash of this AccountDto. # noqa: E501 :rtype: str
Expand source code
@property def intercom_hash(self): """Gets the intercom_hash of this AccountDto. # noqa: E501 disabled # noqa: E501 :return: The intercom_hash of this AccountDto. # noqa: E501 :rtype: str """ return self._intercom_hash prop organization_brand_color-
Gets the organization_brand_color of this AccountDto. # noqa: E501
:return: The organization_brand_color of this AccountDto. # noqa: E501 :rtype: str
Expand source code
@property def organization_brand_color(self): """Gets the organization_brand_color of this AccountDto. # noqa: E501 :return: The organization_brand_color of this AccountDto. # noqa: E501 :rtype: str """ return self._organization_brand_color prop organization_logo_url-
Gets the organization_logo_url of this AccountDto. # noqa: E501
:return: The organization_logo_url of this AccountDto. # noqa: E501 :rtype: str
Expand source code
@property def organization_logo_url(self): """Gets the organization_logo_url of this AccountDto. # noqa: E501 :return: The organization_logo_url of this AccountDto. # noqa: E501 :rtype: str """ return self._organization_logo_url prop organization_name-
Gets the organization_name of this AccountDto. # noqa: E501
:return: The organization_name of this AccountDto. # noqa: E501 :rtype: str
Expand source code
@property def organization_name(self): """Gets the organization_name of this AccountDto. # noqa: E501 :return: The organization_name of this AccountDto. # noqa: E501 :rtype: str """ return self._organization_name prop organization_slug-
Gets the organization_slug of this AccountDto. # noqa: E501
:return: The organization_slug of this AccountDto. # noqa: E501 :rtype: str
Expand source code
@property def organization_slug(self): """Gets the organization_slug of this AccountDto. # noqa: E501 :return: The organization_slug of this AccountDto. # noqa: E501 :rtype: str """ return self._organization_slug prop required_verification_types-
Gets the required_verification_types of this AccountDto. # noqa: E501
:return: The required_verification_types of this AccountDto. # noqa: E501 :rtype: list[str]
Expand source code
@property def required_verification_types(self): """Gets the required_verification_types of this AccountDto. # noqa: E501 :return: The required_verification_types of this AccountDto. # noqa: E501 :rtype: list[str] """ return self._required_verification_types prop requires_dashboard_onboarding_v2-
Gets the requires_dashboard_onboarding_v2 of this AccountDto. # noqa: E501
:return: The requires_dashboard_onboarding_v2 of this AccountDto. # noqa: E501 :rtype: bool
Expand source code
@property def requires_dashboard_onboarding_v2(self): """Gets the requires_dashboard_onboarding_v2 of this AccountDto. # noqa: E501 :return: The requires_dashboard_onboarding_v2 of this AccountDto. # noqa: E501 :rtype: bool """ return self._requires_dashboard_onboarding_v2 prop requires_terms_and_conditions_agreement-
Gets the requires_terms_and_conditions_agreement of this AccountDto. # noqa: E501
:return: The requires_terms_and_conditions_agreement of this AccountDto. # noqa: E501 :rtype: bool
Expand source code
@property def requires_terms_and_conditions_agreement(self): """Gets the requires_terms_and_conditions_agreement of this AccountDto. # noqa: E501 :return: The requires_terms_and_conditions_agreement of this AccountDto. # noqa: E501 :rtype: bool """ return self._requires_terms_and_conditions_agreement prop requires_verification-
Gets the requires_verification of this AccountDto. # noqa: E501
:return: The requires_verification of this AccountDto. # noqa: E501 :rtype: bool
Expand source code
@property def requires_verification(self): """Gets the requires_verification of this AccountDto. # noqa: E501 :return: The requires_verification of this AccountDto. # noqa: E501 :rtype: bool """ return self._requires_verification prop subscription-
Gets the subscription of this AccountDto. # noqa: E501
:return: The subscription of this AccountDto. # noqa: E501 :rtype: SubscriptionDto
Expand source code
@property def subscription(self): """Gets the subscription of this AccountDto. # noqa: E501 :return: The subscription of this AccountDto. # noqa: E501 :rtype: SubscriptionDto """ return self._subscription prop trials_enabled-
Gets the trials_enabled of this AccountDto. # noqa: E501
:return: The trials_enabled of this AccountDto. # noqa: E501 :rtype: bool
Expand source code
@property def trials_enabled(self): """Gets the trials_enabled of this AccountDto. # noqa: E501 :return: The trials_enabled of this AccountDto. # noqa: E501 :rtype: bool """ return self._trials_enabled prop user-
Gets the user of this AccountDto. # noqa: E501
:return: The user of this AccountDto. # noqa: E501 :rtype: UserDto
Expand source code
@property def user(self): """Gets the user of this AccountDto. # noqa: E501 :return: The user of this AccountDto. # noqa: E501 :rtype: UserDto """ return self._user prop user_permission_role-
Gets the user_permission_role of this AccountDto. # noqa: E501
:return: The user_permission_role of this AccountDto. # noqa: E501 :rtype: str
Expand source code
@property def user_permission_role(self): """Gets the user_permission_role of this AccountDto. # noqa: E501 :return: The user_permission_role of this AccountDto. # noqa: E501 :rtype: str """ return self._user_permission_role
Methods
def to_dict(self)-
Returns the model properties as a dict
def to_str(self)-
Returns the string representation of the model