# coding: utf-8

"""
    Yahoo!広告 ディスプレイ広告 API リファレンス / Yahoo! JAPAN Ads Display Ads API Reference

    <div lang=\"ja\">Yahoo!広告 ディスプレイ広告 APIのWebサービスについて説明します。</div> <div lang=\"en\">Display Ads API Web Services supported in Yahoo! JAPAN Ads API.</div> <div><a target=\"_blank\" href=\"https://github.com/yahoojp-marketing/ads-display-api-documents/blob/master/design/v12/Route.yaml\">OpenAPI Specification</a></div> <div lang=\"ja\"><a target=\"_blank\" href=\"https://github.com/yahoojp-marketing/ads-display-api-documents/blob/master/bestpractice/ja\">Best Practice</a></div> <div lang=\"en\"><a target=\"_blank\" href=\"https://github.com/yahoojp-marketing/ads-display-api-documents/blob/master/bestpractice/en\">Best Practice</a></div>   # noqa: E501

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


import pprint
import re  # noqa: F401

import six

from yahoo_display_test.configuration import Configuration


class Campaign(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 = {
        'account_id': 'int',
        'app_id': 'str',
        'app_name': 'str',
        'budget': 'CampaignServiceBudget',
        'bidding_strategy_configuration': 'CampaignServiceBiddingStrategyConfiguration',
        'campaign_goal': 'str',
        'campaign_id': 'int',
        'campaign_name': 'str',
        'conversion_optimizer': 'CampaignServiceConversionOptimizer',
        'custom_parameters': 'CampaignServiceCustomParameters',
        'app_os_type': 'CampaignServiceAppOsType',
        'end_date': 'str',
        'end_time': 'str',
        'feed_id': 'int',
        'is_remove_tracking_url': 'CampaignServiceIsRemoveFlg',
        'labels': 'list[CampaignServiceLabel]',
        'optimization_score': 'float',
        'serving_status': 'CampaignServiceServingStatus',
        'start_date': 'str',
        'start_time': 'str',
        'tracking_url': 'str',
        'user_status': 'CampaignServiceUserStatus',
        'viewable_frequency_cap': 'CampaignServiceViewableFrequencyCap',
        'campaign_delivery_type': 'str',
        'created_date': 'str',
        'vendor_name': 'str',
        'conversion_tracker': 'CampaignServiceConversionTracker'
    }

    attribute_map = {
        'account_id': 'accountId',
        'app_id': 'appId',
        'app_name': 'appName',
        'budget': 'budget',
        'bidding_strategy_configuration': 'biddingStrategyConfiguration',
        'campaign_goal': 'campaignGoal',
        'campaign_id': 'campaignId',
        'campaign_name': 'campaignName',
        'conversion_optimizer': 'conversionOptimizer',
        'custom_parameters': 'customParameters',
        'app_os_type': 'appOsType',
        'end_date': 'endDate',
        'end_time': 'endTime',
        'feed_id': 'feedId',
        'is_remove_tracking_url': 'isRemoveTrackingUrl',
        'labels': 'labels',
        'optimization_score': 'optimizationScore',
        'serving_status': 'servingStatus',
        'start_date': 'startDate',
        'start_time': 'startTime',
        'tracking_url': 'trackingUrl',
        'user_status': 'userStatus',
        'viewable_frequency_cap': 'viewableFrequencyCap',
        'campaign_delivery_type': 'campaignDeliveryType',
        'created_date': 'createdDate',
        'vendor_name': 'vendorName',
        'conversion_tracker': 'conversionTracker'
    }

    def __init__(self, account_id=None, app_id=None, app_name=None, budget=None, bidding_strategy_configuration=None, campaign_goal=None, campaign_id=None, campaign_name=None, conversion_optimizer=None, custom_parameters=None, app_os_type=None, end_date=None, end_time=None, feed_id=None, is_remove_tracking_url=None, labels=None, optimization_score=None, serving_status=None, start_date=None, start_time=None, tracking_url=None, user_status=None, viewable_frequency_cap=None, campaign_delivery_type=None, created_date=None, vendor_name=None, conversion_tracker=None, local_vars_configuration=None):  # noqa: E501
        """Campaign - 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._account_id = None
        self._app_id = None
        self._app_name = None
        self._budget = None
        self._bidding_strategy_configuration = None
        self._campaign_goal = None
        self._campaign_id = None
        self._campaign_name = None
        self._conversion_optimizer = None
        self._custom_parameters = None
        self._app_os_type = None
        self._end_date = None
        self._end_time = None
        self._feed_id = None
        self._is_remove_tracking_url = None
        self._labels = None
        self._optimization_score = None
        self._serving_status = None
        self._start_date = None
        self._start_time = None
        self._tracking_url = None
        self._user_status = None
        self._viewable_frequency_cap = None
        self._campaign_delivery_type = None
        self._created_date = None
        self._vendor_name = None
        self._conversion_tracker = None
        self.discriminator = None

        self.account_id = account_id
        self.app_id = app_id
        self.app_name = app_name
        self.budget = budget
        self.bidding_strategy_configuration = bidding_strategy_configuration
        self.campaign_goal = campaign_goal
        self.campaign_id = campaign_id
        self.campaign_name = campaign_name
        self.conversion_optimizer = conversion_optimizer
        self.custom_parameters = custom_parameters
        self.app_os_type = app_os_type
        self.end_date = end_date
        self.end_time = end_time
        self.feed_id = feed_id
        self.is_remove_tracking_url = is_remove_tracking_url
        self.labels = labels
        self.optimization_score = optimization_score
        self.serving_status = serving_status
        self.start_date = start_date
        self.start_time = start_time
        self.tracking_url = tracking_url
        self.user_status = user_status
        self.viewable_frequency_cap = viewable_frequency_cap
        self.campaign_delivery_type = campaign_delivery_type
        self.created_date = created_date
        self.vendor_name = vendor_name
        self.conversion_tracker = conversion_tracker

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

        <div lang=\"ja\"> アカウントIDです。<br> このフィールドは、リクエストの場合は必須です。 </div> <div lang=\"en\"> Account ID. <br> This field is required in requests. </div>   # noqa: E501

        :return: The account_id of this Campaign.  # noqa: E501
        :rtype: int
        """
        return self._account_id

    @account_id.setter
    def account_id(self, account_id):
        """Sets the account_id of this Campaign.

        <div lang=\"ja\"> アカウントIDです。<br> このフィールドは、リクエストの場合は必須です。 </div> <div lang=\"en\"> Account ID. <br> This field is required in requests. </div>   # noqa: E501

        :param account_id: The account_id of this Campaign.  # noqa: E501
        :type: int
        """

        self._account_id = account_id

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

        <div lang=\"ja\"> iOS:アプリIDです。<br> Android:パッケージ名です。<br> このフィールドは、ADD時に省略可能となり、SETおよびREMOVE時は無視されます。<br> ※campaignGoalが「APP_PROMOTION」の場合、ADD時に必須となります。 </div> <div lang=\"en\"> iOS: APP ID.<br> Android: Package name. <br> This field is optional in ADD operation, and will be ignored in SET and REMOVE operation.<br> *If campaignGoal is APP_PROMOTION, this field is required in ADD operation. </div>   # noqa: E501

        :return: The app_id of this Campaign.  # noqa: E501
        :rtype: str
        """
        return self._app_id

    @app_id.setter
    def app_id(self, app_id):
        """Sets the app_id of this Campaign.

        <div lang=\"ja\"> iOS:アプリIDです。<br> Android:パッケージ名です。<br> このフィールドは、ADD時に省略可能となり、SETおよびREMOVE時は無視されます。<br> ※campaignGoalが「APP_PROMOTION」の場合、ADD時に必須となります。 </div> <div lang=\"en\"> iOS: APP ID.<br> Android: Package name. <br> This field is optional in ADD operation, and will be ignored in SET and REMOVE operation.<br> *If campaignGoal is APP_PROMOTION, this field is required in ADD operation. </div>   # noqa: E501

        :param app_id: The app_id of this Campaign.  # noqa: E501
        :type: str
        """

        self._app_id = app_id

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

        <div lang=\"ja\"> アプリの名称です。<br> このフィールドは、ADD時に省略可能となり、SETおよびREMOVE時は無視されます。<br> ※campaignGoalが「APP_PROMOTION」の場合、ADD時に必須となります。 </div> <div lang=\"en\"> App name. <br> This field is optional in ADD operation, and will be ignored in SET and REMOVE operation.<br> *If campaignGoal is APP_PROMOTION, this field is required in ADD operation. </div>   # noqa: E501

        :return: The app_name of this Campaign.  # noqa: E501
        :rtype: str
        """
        return self._app_name

    @app_name.setter
    def app_name(self, app_name):
        """Sets the app_name of this Campaign.

        <div lang=\"ja\"> アプリの名称です。<br> このフィールドは、ADD時に省略可能となり、SETおよびREMOVE時は無視されます。<br> ※campaignGoalが「APP_PROMOTION」の場合、ADD時に必須となります。 </div> <div lang=\"en\"> App name. <br> This field is optional in ADD operation, and will be ignored in SET and REMOVE operation.<br> *If campaignGoal is APP_PROMOTION, this field is required in ADD operation. </div>   # noqa: E501

        :param app_name: The app_name of this Campaign.  # noqa: E501
        :type: str
        """

        self._app_name = app_name

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


        :return: The budget of this Campaign.  # noqa: E501
        :rtype: CampaignServiceBudget
        """
        return self._budget

    @budget.setter
    def budget(self, budget):
        """Sets the budget of this Campaign.


        :param budget: The budget of this Campaign.  # noqa: E501
        :type: CampaignServiceBudget
        """

        self._budget = budget

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


        :return: The bidding_strategy_configuration of this Campaign.  # noqa: E501
        :rtype: CampaignServiceBiddingStrategyConfiguration
        """
        return self._bidding_strategy_configuration

    @bidding_strategy_configuration.setter
    def bidding_strategy_configuration(self, bidding_strategy_configuration):
        """Sets the bidding_strategy_configuration of this Campaign.


        :param bidding_strategy_configuration: The bidding_strategy_configuration of this Campaign.  # noqa: E501
        :type: CampaignServiceBiddingStrategyConfiguration
        """

        self._bidding_strategy_configuration = bidding_strategy_configuration

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

        <div lang=\"ja\"> キャンペーン目的です。<br> ADD時、このフィールドは必須となります。<br> SETおよびREMOVE時、このフィールドは無視されます。<br> ※指定可能な値は、AccountAuthorityServiceのGET操作で得られるAccountAuthorityのauthoritiesフィールドをご確認ください。<br> </div> <div lang=\"en\"> Campaign goal.<br> In ADD operation, this field is required.<br> In SET and REMOVE operation, this field will be ignored.<br> * Available values can be referred to authorities field of AccountAuthority object obtained by GET operation of AccountAuthorityService.<br> </div>   # noqa: E501

        :return: The campaign_goal of this Campaign.  # noqa: E501
        :rtype: str
        """
        return self._campaign_goal

    @campaign_goal.setter
    def campaign_goal(self, campaign_goal):
        """Sets the campaign_goal of this Campaign.

        <div lang=\"ja\"> キャンペーン目的です。<br> ADD時、このフィールドは必須となります。<br> SETおよびREMOVE時、このフィールドは無視されます。<br> ※指定可能な値は、AccountAuthorityServiceのGET操作で得られるAccountAuthorityのauthoritiesフィールドをご確認ください。<br> </div> <div lang=\"en\"> Campaign goal.<br> In ADD operation, this field is required.<br> In SET and REMOVE operation, this field will be ignored.<br> * Available values can be referred to authorities field of AccountAuthority object obtained by GET operation of AccountAuthorityService.<br> </div>   # noqa: E501

        :param campaign_goal: The campaign_goal of this Campaign.  # noqa: E501
        :type: str
        """

        self._campaign_goal = campaign_goal

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

        <div lang=\"ja\"> キャンペーンIDです。<br> このフィールドはSETおよびREMOVE時に必須となり、ADD時に無視されます。 </div> <div lang=\"en\"> Campaign ID.<br> This field is required in SET and REMOVE operation, and will be ignored in ADD operation. </div>   # noqa: E501

        :return: The campaign_id of this Campaign.  # noqa: E501
        :rtype: int
        """
        return self._campaign_id

    @campaign_id.setter
    def campaign_id(self, campaign_id):
        """Sets the campaign_id of this Campaign.

        <div lang=\"ja\"> キャンペーンIDです。<br> このフィールドはSETおよびREMOVE時に必須となり、ADD時に無視されます。 </div> <div lang=\"en\"> Campaign ID.<br> This field is required in SET and REMOVE operation, and will be ignored in ADD operation. </div>   # noqa: E501

        :param campaign_id: The campaign_id of this Campaign.  # noqa: E501
        :type: int
        """

        self._campaign_id = campaign_id

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

        <div lang=\"ja\"> キャンペーン名です。<br> このフィールドは、ADD時は必須、SET時は省略可能となり、REMOVE時は無視されます。 </div> <div lang=\"en\"> Campaign name.<br> This field is required in ADD operation, is optional in SET operation, and will be ignored in REMOVE operation. </div>   # noqa: E501

        :return: The campaign_name of this Campaign.  # noqa: E501
        :rtype: str
        """
        return self._campaign_name

    @campaign_name.setter
    def campaign_name(self, campaign_name):
        """Sets the campaign_name of this Campaign.

        <div lang=\"ja\"> キャンペーン名です。<br> このフィールドは、ADD時は必須、SET時は省略可能となり、REMOVE時は無視されます。 </div> <div lang=\"en\"> Campaign name.<br> This field is required in ADD operation, is optional in SET operation, and will be ignored in REMOVE operation. </div>   # noqa: E501

        :param campaign_name: The campaign_name of this Campaign.  # noqa: E501
        :type: str
        """

        self._campaign_name = campaign_name

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


        :return: The conversion_optimizer of this Campaign.  # noqa: E501
        :rtype: CampaignServiceConversionOptimizer
        """
        return self._conversion_optimizer

    @conversion_optimizer.setter
    def conversion_optimizer(self, conversion_optimizer):
        """Sets the conversion_optimizer of this Campaign.


        :param conversion_optimizer: The conversion_optimizer of this Campaign.  # noqa: E501
        :type: CampaignServiceConversionOptimizer
        """

        self._conversion_optimizer = conversion_optimizer

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


        :return: The custom_parameters of this Campaign.  # noqa: E501
        :rtype: CampaignServiceCustomParameters
        """
        return self._custom_parameters

    @custom_parameters.setter
    def custom_parameters(self, custom_parameters):
        """Sets the custom_parameters of this Campaign.


        :param custom_parameters: The custom_parameters of this Campaign.  # noqa: E501
        :type: CampaignServiceCustomParameters
        """

        self._custom_parameters = custom_parameters

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


        :return: The app_os_type of this Campaign.  # noqa: E501
        :rtype: CampaignServiceAppOsType
        """
        return self._app_os_type

    @app_os_type.setter
    def app_os_type(self, app_os_type):
        """Sets the app_os_type of this Campaign.


        :param app_os_type: The app_os_type of this Campaign.  # noqa: E501
        :type: CampaignServiceAppOsType
        """

        self._app_os_type = app_os_type

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

        <div lang=\"ja\"> 終了日です。<br> このフィールドは、ADDおよびSET時に省略可能となり、REMOVE時に無視されます。<br> ※endTimeが指定されている場合、ADDおよびSET時に必須となります。<br> ※フォーマット：yyyyMMdd </div> <div lang=\"en\"> End date.<br> This field is optional in ADD and SET operation, and will be ignored in REMOVE operation.<br> If endTime is specified, This field is required in ADD and SET operation.<br> *format: yyyyMMdd </div>   # noqa: E501

        :return: The end_date of this Campaign.  # noqa: E501
        :rtype: str
        """
        return self._end_date

    @end_date.setter
    def end_date(self, end_date):
        """Sets the end_date of this Campaign.

        <div lang=\"ja\"> 終了日です。<br> このフィールドは、ADDおよびSET時に省略可能となり、REMOVE時に無視されます。<br> ※endTimeが指定されている場合、ADDおよびSET時に必須となります。<br> ※フォーマット：yyyyMMdd </div> <div lang=\"en\"> End date.<br> This field is optional in ADD and SET operation, and will be ignored in REMOVE operation.<br> If endTime is specified, This field is required in ADD and SET operation.<br> *format: yyyyMMdd </div>   # noqa: E501

        :param end_date: The end_date of this Campaign.  # noqa: E501
        :type: str
        """

        self._end_date = end_date

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

        <div lang=\"ja\"> 終了時刻です。<br> このフィールドは、ADDおよびSET時に省略可能となり、REMOVE時に無視されます。<br> ※フォーマット：HHmm </div> <div lang=\"en\"> End time.<br> This field is optional in ADD and SET operation, and will be ignored in REMOVE operation.<br> * Format: HHmm </div>   # noqa: E501

        :return: The end_time of this Campaign.  # noqa: E501
        :rtype: str
        """
        return self._end_time

    @end_time.setter
    def end_time(self, end_time):
        """Sets the end_time of this Campaign.

        <div lang=\"ja\"> 終了時刻です。<br> このフィールドは、ADDおよびSET時に省略可能となり、REMOVE時に無視されます。<br> ※フォーマット：HHmm </div> <div lang=\"en\"> End time.<br> This field is optional in ADD and SET operation, and will be ignored in REMOVE operation.<br> * Format: HHmm </div>   # noqa: E501

        :param end_time: The end_time of this Campaign.  # noqa: E501
        :type: str
        """

        self._end_time = end_time

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

        <div lang=\"ja\"> フィードIDです。<br> このフィールドは、ADD時に省略可能となり、SETおよびREMOVE時に無視されます。<br> ※campaignGoalが「ITEM_LIST」の場合、ADD時に必須となります。 </div> <div lang=\"en\"> Feed ID.<br> This field is optional in ADD operation, and will be ignored in SET and REMOVE operation. <br> *If campaignGoal is ITEM_LIST, this field is required in ADD operation. </div>   # noqa: E501

        :return: The feed_id of this Campaign.  # noqa: E501
        :rtype: int
        """
        return self._feed_id

    @feed_id.setter
    def feed_id(self, feed_id):
        """Sets the feed_id of this Campaign.

        <div lang=\"ja\"> フィードIDです。<br> このフィールドは、ADD時に省略可能となり、SETおよびREMOVE時に無視されます。<br> ※campaignGoalが「ITEM_LIST」の場合、ADD時に必須となります。 </div> <div lang=\"en\"> Feed ID.<br> This field is optional in ADD operation, and will be ignored in SET and REMOVE operation. <br> *If campaignGoal is ITEM_LIST, this field is required in ADD operation. </div>   # noqa: E501

        :param feed_id: The feed_id of this Campaign.  # noqa: E501
        :type: int
        """

        self._feed_id = feed_id

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


        :return: The is_remove_tracking_url of this Campaign.  # noqa: E501
        :rtype: CampaignServiceIsRemoveFlg
        """
        return self._is_remove_tracking_url

    @is_remove_tracking_url.setter
    def is_remove_tracking_url(self, is_remove_tracking_url):
        """Sets the is_remove_tracking_url of this Campaign.


        :param is_remove_tracking_url: The is_remove_tracking_url of this Campaign.  # noqa: E501
        :type: CampaignServiceIsRemoveFlg
        """

        self._is_remove_tracking_url = is_remove_tracking_url

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


        :return: The labels of this Campaign.  # noqa: E501
        :rtype: list[CampaignServiceLabel]
        """
        return self._labels

    @labels.setter
    def labels(self, labels):
        """Sets the labels of this Campaign.


        :param labels: The labels of this Campaign.  # noqa: E501
        :type: list[CampaignServiceLabel]
        """

        self._labels = labels

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

        <div lang=\"ja\">最適化スコアです。<br> 最適化スコアは、0.0から1.0の範囲の値を返却します。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Optimization score.<br> Optimization score returns a value ranging from 0.0 to 1.0.<br> Although this field will be returned in the response, it will be ignored on input.</div>   # noqa: E501

        :return: The optimization_score of this Campaign.  # noqa: E501
        :rtype: float
        """
        return self._optimization_score

    @optimization_score.setter
    def optimization_score(self, optimization_score):
        """Sets the optimization_score of this Campaign.

        <div lang=\"ja\">最適化スコアです。<br> 最適化スコアは、0.0から1.0の範囲の値を返却します。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Optimization score.<br> Optimization score returns a value ranging from 0.0 to 1.0.<br> Although this field will be returned in the response, it will be ignored on input.</div>   # noqa: E501

        :param optimization_score: The optimization_score of this Campaign.  # noqa: E501
        :type: float
        """

        self._optimization_score = optimization_score

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


        :return: The serving_status of this Campaign.  # noqa: E501
        :rtype: CampaignServiceServingStatus
        """
        return self._serving_status

    @serving_status.setter
    def serving_status(self, serving_status):
        """Sets the serving_status of this Campaign.


        :param serving_status: The serving_status of this Campaign.  # noqa: E501
        :type: CampaignServiceServingStatus
        """

        self._serving_status = serving_status

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

        <div lang=\"ja\"> 開始日です。<br> このフィールドは、ADDおよびSET時に省略可能となり、REMOVE時に無視されます。<br> ※startTimeが指定されている場合、ADDおよびSET時に必須となります。<br> ※フォーマット：yyyyMMdd </div> <div lang=\"en\"> Start date.<br> This field is optional in ADD and SET operation, and will be ignored in REMOVE operation.<br> If startTime is specified, This field is required in ADD and SET operation.<br> *format: yyyyMMdd </div>   # noqa: E501

        :return: The start_date of this Campaign.  # noqa: E501
        :rtype: str
        """
        return self._start_date

    @start_date.setter
    def start_date(self, start_date):
        """Sets the start_date of this Campaign.

        <div lang=\"ja\"> 開始日です。<br> このフィールドは、ADDおよびSET時に省略可能となり、REMOVE時に無視されます。<br> ※startTimeが指定されている場合、ADDおよびSET時に必須となります。<br> ※フォーマット：yyyyMMdd </div> <div lang=\"en\"> Start date.<br> This field is optional in ADD and SET operation, and will be ignored in REMOVE operation.<br> If startTime is specified, This field is required in ADD and SET operation.<br> *format: yyyyMMdd </div>   # noqa: E501

        :param start_date: The start_date of this Campaign.  # noqa: E501
        :type: str
        """

        self._start_date = start_date

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

        <div lang=\"ja\"> 開始時刻です。<br> このフィールドは、ADDおよびSET時に省略可能となり、REMOVE時に無視されます。<br> ※フォーマット：HHmm </div> <div lang=\"en\"> Start time.<br> This field is optional in ADD and SET operation, and will be ignored in REMOVE operation.<br> * Format: HHmm </div>   # noqa: E501

        :return: The start_time of this Campaign.  # noqa: E501
        :rtype: str
        """
        return self._start_time

    @start_time.setter
    def start_time(self, start_time):
        """Sets the start_time of this Campaign.

        <div lang=\"ja\"> 開始時刻です。<br> このフィールドは、ADDおよびSET時に省略可能となり、REMOVE時に無視されます。<br> ※フォーマット：HHmm </div> <div lang=\"en\"> Start time.<br> This field is optional in ADD and SET operation, and will be ignored in REMOVE operation.<br> * Format: HHmm </div>   # noqa: E501

        :param start_time: The start_time of this Campaign.  # noqa: E501
        :type: str
        """

        self._start_time = start_time

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

        <div lang=\"ja\">トラッキングURLです。<br> ADD時およびSET時、このフィールドは省略可能となります。<br> ※SET時、こちらが審査中の場合、編集はできません。</div> <div lang=\"en\">Tracking URL.<br> This field is optional in ADD and SET operation.<br> *In SET operation, cannot update it when this field is in editorial review.</div>   # noqa: E501

        :return: The tracking_url of this Campaign.  # noqa: E501
        :rtype: str
        """
        return self._tracking_url

    @tracking_url.setter
    def tracking_url(self, tracking_url):
        """Sets the tracking_url of this Campaign.

        <div lang=\"ja\">トラッキングURLです。<br> ADD時およびSET時、このフィールドは省略可能となります。<br> ※SET時、こちらが審査中の場合、編集はできません。</div> <div lang=\"en\">Tracking URL.<br> This field is optional in ADD and SET operation.<br> *In SET operation, cannot update it when this field is in editorial review.</div>   # noqa: E501

        :param tracking_url: The tracking_url of this Campaign.  # noqa: E501
        :type: str
        """

        self._tracking_url = tracking_url

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


        :return: The user_status of this Campaign.  # noqa: E501
        :rtype: CampaignServiceUserStatus
        """
        return self._user_status

    @user_status.setter
    def user_status(self, user_status):
        """Sets the user_status of this Campaign.


        :param user_status: The user_status of this Campaign.  # noqa: E501
        :type: CampaignServiceUserStatus
        """

        self._user_status = user_status

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


        :return: The viewable_frequency_cap of this Campaign.  # noqa: E501
        :rtype: CampaignServiceViewableFrequencyCap
        """
        return self._viewable_frequency_cap

    @viewable_frequency_cap.setter
    def viewable_frequency_cap(self, viewable_frequency_cap):
        """Sets the viewable_frequency_cap of this Campaign.


        :param viewable_frequency_cap: The viewable_frequency_cap of this Campaign.  # noqa: E501
        :type: CampaignServiceViewableFrequencyCap
        """

        self._viewable_frequency_cap = viewable_frequency_cap

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

        <div lang=\"ja\"> キャンペーン掲載タイプです。<br> このフィールドは、ADDおよびSET時に省略可能となり、REMOVE時に無視されます。<br> CampaignDeliveryTypeを指定してのキャンペーン作成は、一部の利用者向けの機能となります。 </div> <div lang=\"en\"> Campaign delivery type.<br> This field is optional in ADD and SET operation, and will be ignored in REMOVE operation.<br> Creating a campaign with the CampaignDeliveryType specified is a function for some users. </div>   # noqa: E501

        :return: The campaign_delivery_type of this Campaign.  # noqa: E501
        :rtype: str
        """
        return self._campaign_delivery_type

    @campaign_delivery_type.setter
    def campaign_delivery_type(self, campaign_delivery_type):
        """Sets the campaign_delivery_type of this Campaign.

        <div lang=\"ja\"> キャンペーン掲載タイプです。<br> このフィールドは、ADDおよびSET時に省略可能となり、REMOVE時に無視されます。<br> CampaignDeliveryTypeを指定してのキャンペーン作成は、一部の利用者向けの機能となります。 </div> <div lang=\"en\"> Campaign delivery type.<br> This field is optional in ADD and SET operation, and will be ignored in REMOVE operation.<br> Creating a campaign with the CampaignDeliveryType specified is a function for some users. </div>   # noqa: E501

        :param campaign_delivery_type: The campaign_delivery_type of this Campaign.  # noqa: E501
        :type: str
        """

        self._campaign_delivery_type = campaign_delivery_type

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

        <div lang=\"ja\">キャンペーンが作成された日時です。<br>※フォーマット：yyyyMMdd</div> <div lang=\"en\">Date of Campaign made.<br>* Format: yyyyMMdd</div>   # noqa: E501

        :return: The created_date of this Campaign.  # noqa: E501
        :rtype: str
        """
        return self._created_date

    @created_date.setter
    def created_date(self, created_date):
        """Sets the created_date of this Campaign.

        <div lang=\"ja\">キャンペーンが作成された日時です。<br>※フォーマット：yyyyMMdd</div> <div lang=\"en\">Date of Campaign made.<br>* Format: yyyyMMdd</div>   # noqa: E501

        :param created_date: The created_date of this Campaign.  # noqa: E501
        :type: str
        """

        self._created_date = created_date

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

        <div lang=\"ja\"> キャンペーンの広告効果測定ツールのベンダー名です。キャンペーン目的「アプリ訴求」の場合にのみ設定されます。<br> このフィールドはキャンペーン作成後、最初にリンク先URLを設定した広告が作成された時に設定されます。<br> キャンペーンに紐づく広告のリンク先URLには、このベンダー名に対応する広告効果測定ツールのURLのみが指定できます。<br> ADD時およびSET時、<code>APPSFLYER</code>, <code>ADJUST</code>, <code>SINGULAR</code>, <code>KOCHAVA</code>, <code>BRANCH</code> および <code>NONE</code> のみ指定可能です。 </div> <div lang=\"en\"> Vendor name of tracking tool for the campaign. It will be set only when the campaign goal is \"app promotion.\"<br> This field will be set when the first ad with destination URL is created after creating the campaign.<br> Only the tracking tool URL corresponds to this tool vendor name can be specified for the destination URL of the ad linked to the campaign.<br> Only <code>APPSFLYER</code>, <code>ADJUST</code>, <code>SINGULAR</code>, <code>KOCHAVA</code>, <code>BRANCH</code> and <code>NONE</code> can be specified in ADD and SET operation. </div>   # noqa: E501

        :return: The vendor_name of this Campaign.  # noqa: E501
        :rtype: str
        """
        return self._vendor_name

    @vendor_name.setter
    def vendor_name(self, vendor_name):
        """Sets the vendor_name of this Campaign.

        <div lang=\"ja\"> キャンペーンの広告効果測定ツールのベンダー名です。キャンペーン目的「アプリ訴求」の場合にのみ設定されます。<br> このフィールドはキャンペーン作成後、最初にリンク先URLを設定した広告が作成された時に設定されます。<br> キャンペーンに紐づく広告のリンク先URLには、このベンダー名に対応する広告効果測定ツールのURLのみが指定できます。<br> ADD時およびSET時、<code>APPSFLYER</code>, <code>ADJUST</code>, <code>SINGULAR</code>, <code>KOCHAVA</code>, <code>BRANCH</code> および <code>NONE</code> のみ指定可能です。 </div> <div lang=\"en\"> Vendor name of tracking tool for the campaign. It will be set only when the campaign goal is \"app promotion.\"<br> This field will be set when the first ad with destination URL is created after creating the campaign.<br> Only the tracking tool URL corresponds to this tool vendor name can be specified for the destination URL of the ad linked to the campaign.<br> Only <code>APPSFLYER</code>, <code>ADJUST</code>, <code>SINGULAR</code>, <code>KOCHAVA</code>, <code>BRANCH</code> and <code>NONE</code> can be specified in ADD and SET operation. </div>   # noqa: E501

        :param vendor_name: The vendor_name of this Campaign.  # noqa: E501
        :type: str
        """

        self._vendor_name = vendor_name

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


        :return: The conversion_tracker of this Campaign.  # noqa: E501
        :rtype: CampaignServiceConversionTracker
        """
        return self._conversion_tracker

    @conversion_tracker.setter
    def conversion_tracker(self, conversion_tracker):
        """Sets the conversion_tracker of this Campaign.


        :param conversion_tracker: The conversion_tracker of this Campaign.  # noqa: E501
        :type: CampaignServiceConversionTracker
        """

        self._conversion_tracker = conversion_tracker

    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, Campaign):
            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, Campaign):
            return True

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