# coding: utf-8

"""
    Talon.One API

    The Talon.One API is used to manage applications and campaigns, as well as to integrate with your application. The operations in the _Integration API_ section are used to integrate with our platform, while the other operations are used to manage applications and campaigns.  ### Where is the API?  The API is available at the same hostname as these docs. For example, if you are reading this page at `https://mycompany.talon.one/docs/api/`, the URL for the [updateCustomerProfile][] operation is `https://mycompany.talon.one/v1/customer_profiles/id`  [updateCustomerProfile]: #operation--v1-customer_profiles--integrationId--put   # noqa: E501

    The version of the OpenAPI document: 1.0.0
    Generated by: https://openapi-generator.tech
"""


import pprint
import re  # noqa: F401

import six

from talon_one.configuration import Configuration


class AccountAnalytics(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 = {
        'applications': 'int',
        'live_applications': 'int',
        'sandbox_applications': 'int',
        'campaigns': 'int',
        'active_campaigns': 'int',
        'live_active_campaigns': 'int',
        'coupons': 'int',
        'active_coupons': 'int',
        'expired_coupons': 'int',
        'referral_codes': 'int',
        'active_referral_codes': 'int',
        'expired_referral_codes': 'int',
        'active_rules': 'int',
        'users': 'int',
        'roles': 'int',
        'custom_attributes': 'int',
        'webhooks': 'int',
        'loyalty_programs': 'int'
    }

    attribute_map = {
        'applications': 'applications',
        'live_applications': 'liveApplications',
        'sandbox_applications': 'sandboxApplications',
        'campaigns': 'campaigns',
        'active_campaigns': 'activeCampaigns',
        'live_active_campaigns': 'liveActiveCampaigns',
        'coupons': 'coupons',
        'active_coupons': 'activeCoupons',
        'expired_coupons': 'expiredCoupons',
        'referral_codes': 'referralCodes',
        'active_referral_codes': 'activeReferralCodes',
        'expired_referral_codes': 'expiredReferralCodes',
        'active_rules': 'activeRules',
        'users': 'users',
        'roles': 'roles',
        'custom_attributes': 'customAttributes',
        'webhooks': 'webhooks',
        'loyalty_programs': 'loyaltyPrograms'
    }

    def __init__(self, applications=None, live_applications=None, sandbox_applications=None, campaigns=None, active_campaigns=None, live_active_campaigns=None, coupons=None, active_coupons=None, expired_coupons=None, referral_codes=None, active_referral_codes=None, expired_referral_codes=None, active_rules=None, users=None, roles=None, custom_attributes=None, webhooks=None, loyalty_programs=None, local_vars_configuration=None):  # noqa: E501
        """AccountAnalytics - 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._applications = None
        self._live_applications = None
        self._sandbox_applications = None
        self._campaigns = None
        self._active_campaigns = None
        self._live_active_campaigns = None
        self._coupons = None
        self._active_coupons = None
        self._expired_coupons = None
        self._referral_codes = None
        self._active_referral_codes = None
        self._expired_referral_codes = None
        self._active_rules = None
        self._users = None
        self._roles = None
        self._custom_attributes = None
        self._webhooks = None
        self._loyalty_programs = None
        self.discriminator = None

        self.applications = applications
        self.live_applications = live_applications
        self.sandbox_applications = sandbox_applications
        self.campaigns = campaigns
        self.active_campaigns = active_campaigns
        self.live_active_campaigns = live_active_campaigns
        self.coupons = coupons
        self.active_coupons = active_coupons
        self.expired_coupons = expired_coupons
        self.referral_codes = referral_codes
        self.active_referral_codes = active_referral_codes
        self.expired_referral_codes = expired_referral_codes
        self.active_rules = active_rules
        self.users = users
        self.roles = roles
        self.custom_attributes = custom_attributes
        self.webhooks = webhooks
        self.loyalty_programs = loyalty_programs

    @property
    def applications(self):
        """Gets the applications of this AccountAnalytics.  # noqa: E501

        Total number of applications in the account  # noqa: E501

        :return: The applications of this AccountAnalytics.  # noqa: E501
        :rtype: int
        """
        return self._applications

    @applications.setter
    def applications(self, applications):
        """Sets the applications of this AccountAnalytics.

        Total number of applications in the account  # noqa: E501

        :param applications: The applications of this AccountAnalytics.  # noqa: E501
        :type: int
        """
        if self.local_vars_configuration.client_side_validation and applications is None:  # noqa: E501
            raise ValueError("Invalid value for `applications`, must not be `None`")  # noqa: E501

        self._applications = applications

    @property
    def live_applications(self):
        """Gets the live_applications of this AccountAnalytics.  # noqa: E501

        Total number of live applications in the account  # noqa: E501

        :return: The live_applications of this AccountAnalytics.  # noqa: E501
        :rtype: int
        """
        return self._live_applications

    @live_applications.setter
    def live_applications(self, live_applications):
        """Sets the live_applications of this AccountAnalytics.

        Total number of live applications in the account  # noqa: E501

        :param live_applications: The live_applications of this AccountAnalytics.  # noqa: E501
        :type: int
        """
        if self.local_vars_configuration.client_side_validation and live_applications is None:  # noqa: E501
            raise ValueError("Invalid value for `live_applications`, must not be `None`")  # noqa: E501

        self._live_applications = live_applications

    @property
    def sandbox_applications(self):
        """Gets the sandbox_applications of this AccountAnalytics.  # noqa: E501

        Total number of sandbox applications in the account  # noqa: E501

        :return: The sandbox_applications of this AccountAnalytics.  # noqa: E501
        :rtype: int
        """
        return self._sandbox_applications

    @sandbox_applications.setter
    def sandbox_applications(self, sandbox_applications):
        """Sets the sandbox_applications of this AccountAnalytics.

        Total number of sandbox applications in the account  # noqa: E501

        :param sandbox_applications: The sandbox_applications of this AccountAnalytics.  # noqa: E501
        :type: int
        """
        if self.local_vars_configuration.client_side_validation and sandbox_applications is None:  # noqa: E501
            raise ValueError("Invalid value for `sandbox_applications`, must not be `None`")  # noqa: E501

        self._sandbox_applications = sandbox_applications

    @property
    def campaigns(self):
        """Gets the campaigns of this AccountAnalytics.  # noqa: E501

        Total number of campaigns in the account  # noqa: E501

        :return: The campaigns of this AccountAnalytics.  # noqa: E501
        :rtype: int
        """
        return self._campaigns

    @campaigns.setter
    def campaigns(self, campaigns):
        """Sets the campaigns of this AccountAnalytics.

        Total number of campaigns in the account  # noqa: E501

        :param campaigns: The campaigns of this AccountAnalytics.  # noqa: E501
        :type: int
        """
        if self.local_vars_configuration.client_side_validation and campaigns is None:  # noqa: E501
            raise ValueError("Invalid value for `campaigns`, must not be `None`")  # noqa: E501

        self._campaigns = campaigns

    @property
    def active_campaigns(self):
        """Gets the active_campaigns of this AccountAnalytics.  # noqa: E501

        Total number of active campaigns in the account  # noqa: E501

        :return: The active_campaigns of this AccountAnalytics.  # noqa: E501
        :rtype: int
        """
        return self._active_campaigns

    @active_campaigns.setter
    def active_campaigns(self, active_campaigns):
        """Sets the active_campaigns of this AccountAnalytics.

        Total number of active campaigns in the account  # noqa: E501

        :param active_campaigns: The active_campaigns of this AccountAnalytics.  # noqa: E501
        :type: int
        """
        if self.local_vars_configuration.client_side_validation and active_campaigns is None:  # noqa: E501
            raise ValueError("Invalid value for `active_campaigns`, must not be `None`")  # noqa: E501

        self._active_campaigns = active_campaigns

    @property
    def live_active_campaigns(self):
        """Gets the live_active_campaigns of this AccountAnalytics.  # noqa: E501

        Total number of active campaigns in live applications in the account  # noqa: E501

        :return: The live_active_campaigns of this AccountAnalytics.  # noqa: E501
        :rtype: int
        """
        return self._live_active_campaigns

    @live_active_campaigns.setter
    def live_active_campaigns(self, live_active_campaigns):
        """Sets the live_active_campaigns of this AccountAnalytics.

        Total number of active campaigns in live applications in the account  # noqa: E501

        :param live_active_campaigns: The live_active_campaigns of this AccountAnalytics.  # noqa: E501
        :type: int
        """
        if self.local_vars_configuration.client_side_validation and live_active_campaigns is None:  # noqa: E501
            raise ValueError("Invalid value for `live_active_campaigns`, must not be `None`")  # noqa: E501

        self._live_active_campaigns = live_active_campaigns

    @property
    def coupons(self):
        """Gets the coupons of this AccountAnalytics.  # noqa: E501

        Total number of coupons in the account  # noqa: E501

        :return: The coupons of this AccountAnalytics.  # noqa: E501
        :rtype: int
        """
        return self._coupons

    @coupons.setter
    def coupons(self, coupons):
        """Sets the coupons of this AccountAnalytics.

        Total number of coupons in the account  # noqa: E501

        :param coupons: The coupons of this AccountAnalytics.  # noqa: E501
        :type: int
        """
        if self.local_vars_configuration.client_side_validation and coupons is None:  # noqa: E501
            raise ValueError("Invalid value for `coupons`, must not be `None`")  # noqa: E501

        self._coupons = coupons

    @property
    def active_coupons(self):
        """Gets the active_coupons of this AccountAnalytics.  # noqa: E501

        Total number of active coupons in the account  # noqa: E501

        :return: The active_coupons of this AccountAnalytics.  # noqa: E501
        :rtype: int
        """
        return self._active_coupons

    @active_coupons.setter
    def active_coupons(self, active_coupons):
        """Sets the active_coupons of this AccountAnalytics.

        Total number of active coupons in the account  # noqa: E501

        :param active_coupons: The active_coupons of this AccountAnalytics.  # noqa: E501
        :type: int
        """
        if self.local_vars_configuration.client_side_validation and active_coupons is None:  # noqa: E501
            raise ValueError("Invalid value for `active_coupons`, must not be `None`")  # noqa: E501

        self._active_coupons = active_coupons

    @property
    def expired_coupons(self):
        """Gets the expired_coupons of this AccountAnalytics.  # noqa: E501

        Total number of expired coupons in the account  # noqa: E501

        :return: The expired_coupons of this AccountAnalytics.  # noqa: E501
        :rtype: int
        """
        return self._expired_coupons

    @expired_coupons.setter
    def expired_coupons(self, expired_coupons):
        """Sets the expired_coupons of this AccountAnalytics.

        Total number of expired coupons in the account  # noqa: E501

        :param expired_coupons: The expired_coupons of this AccountAnalytics.  # noqa: E501
        :type: int
        """
        if self.local_vars_configuration.client_side_validation and expired_coupons is None:  # noqa: E501
            raise ValueError("Invalid value for `expired_coupons`, must not be `None`")  # noqa: E501

        self._expired_coupons = expired_coupons

    @property
    def referral_codes(self):