# 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 AdGroupAdServiceDynamicDisplayAd(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 = {
        'brand_color': 'str',
        'button_text': 'AdGroupAdServiceButtonText',
        'campaign_banner_media_id': 'int',
        'campaign_banner_media_id2': 'int',
        'campaign_banner_media_id3': 'int',
        'campaign_banner_media_id4': 'int',
        'campaign_banner_url': 'str',
        'is_remove_campaign_banner_media_id': 'AdGroupAdServiceIsRemoveFlg',
        'is_remove_campaign_banner_media_id2': 'AdGroupAdServiceIsRemoveFlg',
        'is_remove_campaign_banner_media_id3': 'AdGroupAdServiceIsRemoveFlg',
        'is_remove_campaign_banner_media_id4': 'AdGroupAdServiceIsRemoveFlg',
        'is_remove_campaign_banner_url': 'AdGroupAdServiceIsRemoveFlg',
        'logo_media_id': 'int',
        'logo_media_id2': 'int',
        'logo_media_id3': 'int',
        'prefix': 'str',
        'principal': 'str',
        'suffix': 'str',
        'is_remove_prefix': 'AdGroupAdServiceIsRemoveFlg',
        'is_remove_suffix': 'AdGroupAdServiceIsRemoveFlg',
        'is_remove_brand_color': 'AdGroupAdServiceIsRemoveFlg'
    }

    attribute_map = {
        'brand_color': 'brandColor',
        'button_text': 'buttonText',
        'campaign_banner_media_id': 'campaignBannerMediaId',
        'campaign_banner_media_id2': 'campaignBannerMediaId2',
        'campaign_banner_media_id3': 'campaignBannerMediaId3',
        'campaign_banner_media_id4': 'campaignBannerMediaId4',
        'campaign_banner_url': 'campaignBannerUrl',
        'is_remove_campaign_banner_media_id': 'isRemoveCampaignBannerMediaId',
        'is_remove_campaign_banner_media_id2': 'isRemoveCampaignBannerMediaId2',
        'is_remove_campaign_banner_media_id3': 'isRemoveCampaignBannerMediaId3',
        'is_remove_campaign_banner_media_id4': 'isRemoveCampaignBannerMediaId4',
        'is_remove_campaign_banner_url': 'isRemoveCampaignBannerUrl',
        'logo_media_id': 'logoMediaId',
        'logo_media_id2': 'logoMediaId2',
        'logo_media_id3': 'logoMediaId3',
        'prefix': 'prefix',
        'principal': 'principal',
        'suffix': 'suffix',
        'is_remove_prefix': 'isRemovePrefix',
        'is_remove_suffix': 'isRemoveSuffix',
        'is_remove_brand_color': 'isRemoveBrandColor'
    }

    def __init__(self, brand_color=None, button_text=None, campaign_banner_media_id=None, campaign_banner_media_id2=None, campaign_banner_media_id3=None, campaign_banner_media_id4=None, campaign_banner_url=None, is_remove_campaign_banner_media_id=None, is_remove_campaign_banner_media_id2=None, is_remove_campaign_banner_media_id3=None, is_remove_campaign_banner_media_id4=None, is_remove_campaign_banner_url=None, logo_media_id=None, logo_media_id2=None, logo_media_id3=None, prefix=None, principal=None, suffix=None, is_remove_prefix=None, is_remove_suffix=None, is_remove_brand_color=None, local_vars_configuration=None):  # noqa: E501
        """AdGroupAdServiceDynamicDisplayAd - 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._brand_color = None
        self._button_text = None
        self._campaign_banner_media_id = None
        self._campaign_banner_media_id2 = None
        self._campaign_banner_media_id3 = None
        self._campaign_banner_media_id4 = None
        self._campaign_banner_url = None
        self._is_remove_campaign_banner_media_id = None
        self._is_remove_campaign_banner_media_id2 = None
        self._is_remove_campaign_banner_media_id3 = None
        self._is_remove_campaign_banner_media_id4 = None
        self._is_remove_campaign_banner_url = None
        self._logo_media_id = None
        self._logo_media_id2 = None
        self._logo_media_id3 = None
        self._prefix = None
        self._principal = None
        self._suffix = None
        self._is_remove_prefix = None
        self._is_remove_suffix = None
        self._is_remove_brand_color = None
        self.discriminator = None

        self.brand_color = brand_color
        self.button_text = button_text
        self.campaign_banner_media_id = campaign_banner_media_id
        self.campaign_banner_media_id2 = campaign_banner_media_id2
        self.campaign_banner_media_id3 = campaign_banner_media_id3
        self.campaign_banner_media_id4 = campaign_banner_media_id4
        self.campaign_banner_url = campaign_banner_url
        self.is_remove_campaign_banner_media_id = is_remove_campaign_banner_media_id
        self.is_remove_campaign_banner_media_id2 = is_remove_campaign_banner_media_id2
        self.is_remove_campaign_banner_media_id3 = is_remove_campaign_banner_media_id3
        self.is_remove_campaign_banner_media_id4 = is_remove_campaign_banner_media_id4
        self.is_remove_campaign_banner_url = is_remove_campaign_banner_url
        self.logo_media_id = logo_media_id
        self.logo_media_id2 = logo_media_id2
        self.logo_media_id3 = logo_media_id3
        self.prefix = prefix
        self.principal = principal
        self.suffix = suffix
        self.is_remove_prefix = is_remove_prefix
        self.is_remove_suffix = is_remove_suffix
        self.is_remove_brand_color = is_remove_brand_color

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

        <div lang=\"ja\"> ブランドカラーです。<br> ※RGB、HEX指定です。<br> 設定例：#FFFFFF<br> ADDおよびSET時、このフィールドは省略可能となります。 </div> <div lang=\"en\"> Brand color.<br> Format :RGB or HEX<br> e.g.：#FFFFFF<br> This field is optional in ADD and SET operation. </div>   # noqa: E501

        :return: The brand_color of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: str
        """
        return self._brand_color

    @brand_color.setter
    def brand_color(self, brand_color):
        """Sets the brand_color of this AdGroupAdServiceDynamicDisplayAd.

        <div lang=\"ja\"> ブランドカラーです。<br> ※RGB、HEX指定です。<br> 設定例：#FFFFFF<br> ADDおよびSET時、このフィールドは省略可能となります。 </div> <div lang=\"en\"> Brand color.<br> Format :RGB or HEX<br> e.g.：#FFFFFF<br> This field is optional in ADD and SET operation. </div>   # noqa: E501

        :param brand_color: The brand_color of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: str
        """

        self._brand_color = brand_color

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


        :return: The button_text of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: AdGroupAdServiceButtonText
        """
        return self._button_text

    @button_text.setter
    def button_text(self, button_text):
        """Sets the button_text of this AdGroupAdServiceDynamicDisplayAd.


        :param button_text: The button_text of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: AdGroupAdServiceButtonText
        """

        self._button_text = button_text

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

        <div lang=\"ja\"> キャンペーンバナー画像のメディアIDです。<br> ADDおよびSET時、このフィールドは省略可能となります。 </div> <div lang=\"en\"> Campaign banner media ID.<br> This field is optional in ADD and SET operation. </div>   # noqa: E501

        :return: The campaign_banner_media_id of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: int
        """
        return self._campaign_banner_media_id

    @campaign_banner_media_id.setter
    def campaign_banner_media_id(self, campaign_banner_media_id):
        """Sets the campaign_banner_media_id of this AdGroupAdServiceDynamicDisplayAd.

        <div lang=\"ja\"> キャンペーンバナー画像のメディアIDです。<br> ADDおよびSET時、このフィールドは省略可能となります。 </div> <div lang=\"en\"> Campaign banner media ID.<br> This field is optional in ADD and SET operation. </div>   # noqa: E501

        :param campaign_banner_media_id: The campaign_banner_media_id of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: int
        """

        self._campaign_banner_media_id = campaign_banner_media_id

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

        <div lang=\"ja\"> キャンペーンバナー画像のメディアID 2です。<br> ADDおよびSET時、このフィールドは省略可能となります。 </div> <div lang=\"en\"> Campaign banner media ID 2.<br> This field is optional in ADD and SET operation. </div>   # noqa: E501

        :return: The campaign_banner_media_id2 of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: int
        """
        return self._campaign_banner_media_id2

    @campaign_banner_media_id2.setter
    def campaign_banner_media_id2(self, campaign_banner_media_id2):
        """Sets the campaign_banner_media_id2 of this AdGroupAdServiceDynamicDisplayAd.

        <div lang=\"ja\"> キャンペーンバナー画像のメディアID 2です。<br> ADDおよびSET時、このフィールドは省略可能となります。 </div> <div lang=\"en\"> Campaign banner media ID 2.<br> This field is optional in ADD and SET operation. </div>   # noqa: E501

        :param campaign_banner_media_id2: The campaign_banner_media_id2 of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: int
        """

        self._campaign_banner_media_id2 = campaign_banner_media_id2

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

        <div lang=\"ja\"> キャンペーンバナー画像のメディアID 3です。<br> ADDおよびSET時、このフィールドは省略可能となります。 </div> <div lang=\"en\"> Campaign banner media ID 3.<br> This field is optional in ADD and SET operation. </div>   # noqa: E501

        :return: The campaign_banner_media_id3 of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: int
        """
        return self._campaign_banner_media_id3

    @campaign_banner_media_id3.setter
    def campaign_banner_media_id3(self, campaign_banner_media_id3):
        """Sets the campaign_banner_media_id3 of this AdGroupAdServiceDynamicDisplayAd.

        <div lang=\"ja\"> キャンペーンバナー画像のメディアID 3です。<br> ADDおよびSET時、このフィールドは省略可能となります。 </div> <div lang=\"en\"> Campaign banner media ID 3.<br> This field is optional in ADD and SET operation. </div>   # noqa: E501

        :param campaign_banner_media_id3: The campaign_banner_media_id3 of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: int
        """

        self._campaign_banner_media_id3 = campaign_banner_media_id3

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

        <div lang=\"ja\"> キャンペーンバナー画像のメディアID 4です。<br> ADDおよびSET時、このフィールドは省略可能となります。 </div> <div lang=\"en\"> Campaign banner media ID 4.<br> This field is optional in ADD and SET operation. </div>   # noqa: E501

        :return: The campaign_banner_media_id4 of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: int
        """
        return self._campaign_banner_media_id4

    @campaign_banner_media_id4.setter
    def campaign_banner_media_id4(self, campaign_banner_media_id4):
        """Sets the campaign_banner_media_id4 of this AdGroupAdServiceDynamicDisplayAd.

        <div lang=\"ja\"> キャンペーンバナー画像のメディアID 4です。<br> ADDおよびSET時、このフィールドは省略可能となります。 </div> <div lang=\"en\"> Campaign banner media ID 4.<br> This field is optional in ADD and SET operation. </div>   # noqa: E501

        :param campaign_banner_media_id4: The campaign_banner_media_id4 of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: int
        """

        self._campaign_banner_media_id4 = campaign_banner_media_id4

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

        <div lang=\"ja\"> キャンペーンバナーURLです。<br> このフィールドは省略可能となります。<br> ADD時、設定する場合は以下のいずれかの指定が必要となります。<br> - campaignBannerMediaId<br> - campaignBannerMediaId2<br> - campaignBannerMediaId3<br> - campaignBannerMediaId4 </div> <div lang=\"en\"> Campaign banner URL.<br> This field is optional.<br> For setting in ADD operation, one of the following is required:<br> - campaignBannerMediaId<br> - campaignBannerMediaId2<br> - campaignBannerMediaId3<br> - campaignBannerMediaId4 </div>   # noqa: E501

        :return: The campaign_banner_url of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: str
        """
        return self._campaign_banner_url

    @campaign_banner_url.setter
    def campaign_banner_url(self, campaign_banner_url):
        """Sets the campaign_banner_url of this AdGroupAdServiceDynamicDisplayAd.

        <div lang=\"ja\"> キャンペーンバナーURLです。<br> このフィールドは省略可能となります。<br> ADD時、設定する場合は以下のいずれかの指定が必要となります。<br> - campaignBannerMediaId<br> - campaignBannerMediaId2<br> - campaignBannerMediaId3<br> - campaignBannerMediaId4 </div> <div lang=\"en\"> Campaign banner URL.<br> This field is optional.<br> For setting in ADD operation, one of the following is required:<br> - campaignBannerMediaId<br> - campaignBannerMediaId2<br> - campaignBannerMediaId3<br> - campaignBannerMediaId4 </div>   # noqa: E501

        :param campaign_banner_url: The campaign_banner_url of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: str
        """

        self._campaign_banner_url = campaign_banner_url

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


        :return: The is_remove_campaign_banner_media_id of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: AdGroupAdServiceIsRemoveFlg
        """
        return self._is_remove_campaign_banner_media_id

    @is_remove_campaign_banner_media_id.setter
    def is_remove_campaign_banner_media_id(self, is_remove_campaign_banner_media_id):
        """Sets the is_remove_campaign_banner_media_id of this AdGroupAdServiceDynamicDisplayAd.


        :param is_remove_campaign_banner_media_id: The is_remove_campaign_banner_media_id of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: AdGroupAdServiceIsRemoveFlg
        """

        self._is_remove_campaign_banner_media_id = is_remove_campaign_banner_media_id

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


        :return: The is_remove_campaign_banner_media_id2 of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: AdGroupAdServiceIsRemoveFlg
        """
        return self._is_remove_campaign_banner_media_id2

    @is_remove_campaign_banner_media_id2.setter
    def is_remove_campaign_banner_media_id2(self, is_remove_campaign_banner_media_id2):
        """Sets the is_remove_campaign_banner_media_id2 of this AdGroupAdServiceDynamicDisplayAd.


        :param is_remove_campaign_banner_media_id2: The is_remove_campaign_banner_media_id2 of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: AdGroupAdServiceIsRemoveFlg
        """

        self._is_remove_campaign_banner_media_id2 = is_remove_campaign_banner_media_id2

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


        :return: The is_remove_campaign_banner_media_id3 of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: AdGroupAdServiceIsRemoveFlg
        """
        return self._is_remove_campaign_banner_media_id3

    @is_remove_campaign_banner_media_id3.setter
    def is_remove_campaign_banner_media_id3(self, is_remove_campaign_banner_media_id3):
        """Sets the is_remove_campaign_banner_media_id3 of this AdGroupAdServiceDynamicDisplayAd.


        :param is_remove_campaign_banner_media_id3: The is_remove_campaign_banner_media_id3 of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: AdGroupAdServiceIsRemoveFlg
        """

        self._is_remove_campaign_banner_media_id3 = is_remove_campaign_banner_media_id3

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


        :return: The is_remove_campaign_banner_media_id4 of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: AdGroupAdServiceIsRemoveFlg
        """
        return self._is_remove_campaign_banner_media_id4

    @is_remove_campaign_banner_media_id4.setter
    def is_remove_campaign_banner_media_id4(self, is_remove_campaign_banner_media_id4):
        """Sets the is_remove_campaign_banner_media_id4 of this AdGroupAdServiceDynamicDisplayAd.


        :param is_remove_campaign_banner_media_id4: The is_remove_campaign_banner_media_id4 of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: AdGroupAdServiceIsRemoveFlg
        """

        self._is_remove_campaign_banner_media_id4 = is_remove_campaign_banner_media_id4

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


        :return: The is_remove_campaign_banner_url of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: AdGroupAdServiceIsRemoveFlg
        """
        return self._is_remove_campaign_banner_url

    @is_remove_campaign_banner_url.setter
    def is_remove_campaign_banner_url(self, is_remove_campaign_banner_url):
        """Sets the is_remove_campaign_banner_url of this AdGroupAdServiceDynamicDisplayAd.


        :param is_remove_campaign_banner_url: The is_remove_campaign_banner_url of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: AdGroupAdServiceIsRemoveFlg
        """

        self._is_remove_campaign_banner_url = is_remove_campaign_banner_url

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

        <div lang=\"ja\"> ロゴ画像のメディアIDです。<br> このフィールドは、ADD時は必須となり、SET時は省略可能となります。 </div> <div lang=\"en\"> Media ID of logo image.<br> This field is required in ADD operation, and will be optional in SET operation. </div>   # noqa: E501

        :return: The logo_media_id of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: int
        """
        return self._logo_media_id

    @logo_media_id.setter
    def logo_media_id(self, logo_media_id):
        """Sets the logo_media_id of this AdGroupAdServiceDynamicDisplayAd.

        <div lang=\"ja\"> ロゴ画像のメディアIDです。<br> このフィールドは、ADD時は必須となり、SET時は省略可能となります。 </div> <div lang=\"en\"> Media ID of logo image.<br> This field is required in ADD operation, and will be optional in SET operation. </div>   # noqa: E501

        :param logo_media_id: The logo_media_id of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: int
        """

        self._logo_media_id = logo_media_id

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

        <div lang=\"ja\"> ロゴ画像のメディアID 2です。<br> このフィールドは、ADD時は必須となり、SET時は省略可能となります。 </div> <div lang=\"en\"> Media ID of logo image 2.<br> This field is required in ADD operation, and will be optional in SET operation. </div>   # noqa: E501

        :return: The logo_media_id2 of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: int
        """
        return self._logo_media_id2

    @logo_media_id2.setter
    def logo_media_id2(self, logo_media_id2):
        """Sets the logo_media_id2 of this AdGroupAdServiceDynamicDisplayAd.

        <div lang=\"ja\"> ロゴ画像のメディアID 2です。<br> このフィールドは、ADD時は必須となり、SET時は省略可能となります。 </div> <div lang=\"en\"> Media ID of logo image 2.<br> This field is required in ADD operation, and will be optional in SET operation. </div>   # noqa: E501

        :param logo_media_id2: The logo_media_id2 of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: int
        """

        self._logo_media_id2 = logo_media_id2

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

        <div lang=\"ja\"> ロゴ画像のメディアID 3です。<br> このフィールドは、ADD時は必須となり、SET時は省略可能となります。 </div> <div lang=\"en\"> Media ID of logo image 3.<br> This field is required in ADD operation, and will be optional in SET operation. </div>   # noqa: E501

        :return: The logo_media_id3 of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: int
        """
        return self._logo_media_id3

    @logo_media_id3.setter
    def logo_media_id3(self, logo_media_id3):
        """Sets the logo_media_id3 of this AdGroupAdServiceDynamicDisplayAd.

        <div lang=\"ja\"> ロゴ画像のメディアID 3です。<br> このフィールドは、ADD時は必須となり、SET時は省略可能となります。 </div> <div lang=\"en\"> Media ID of logo image 3.<br> This field is required in ADD operation, and will be optional in SET operation. </div>   # noqa: E501

        :param logo_media_id3: The logo_media_id3 of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: int
        """

        self._logo_media_id3 = logo_media_id3

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

        <div lang=\"ja\"> プレフィックスです。<br> ADDおよびSET時、このフィールドは省略可能となります。 </div> <div lang=\"en\"> Prefix.<br> This field is optional in ADD and SET operation. </div>   # noqa: E501

        :return: The prefix of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: str
        """
        return self._prefix

    @prefix.setter
    def prefix(self, prefix):
        """Sets the prefix of this AdGroupAdServiceDynamicDisplayAd.

        <div lang=\"ja\"> プレフィックスです。<br> ADDおよびSET時、このフィールドは省略可能となります。 </div> <div lang=\"en\"> Prefix.<br> This field is optional in ADD and SET operation. </div>   # noqa: E501

        :param prefix: The prefix of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: str
        """

        self._prefix = prefix

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

        <div lang=\"ja\"> 広告の主体者表記です。<br> このフィールドは、ADD時は必須となり、SET時は省略可能となります。 </div> <div lang=\"en\"> Advertiser indication.<br> This field is required in ADD operation, and will be optional in SET operation. </div>   # noqa: E501

        :return: The principal of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: str
        """
        return self._principal

    @principal.setter
    def principal(self, principal):
        """Sets the principal of this AdGroupAdServiceDynamicDisplayAd.

        <div lang=\"ja\"> 広告の主体者表記です。<br> このフィールドは、ADD時は必須となり、SET時は省略可能となります。 </div> <div lang=\"en\"> Advertiser indication.<br> This field is required in ADD operation, and will be optional in SET operation. </div>   # noqa: E501

        :param principal: The principal of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: str
        """

        self._principal = principal

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

        <div lang=\"ja\"> サフィックスです。<br> ADDおよびSET時、このフィールドは省略可能となります。 </div> <div lang=\"en\"> Suffix.<br> This field is optional in ADD and SET operation. </div>   # noqa: E501

        :return: The suffix of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: str
        """
        return self._suffix

    @suffix.setter
    def suffix(self, suffix):
        """Sets the suffix of this AdGroupAdServiceDynamicDisplayAd.

        <div lang=\"ja\"> サフィックスです。<br> ADDおよびSET時、このフィールドは省略可能となります。 </div> <div lang=\"en\"> Suffix.<br> This field is optional in ADD and SET operation. </div>   # noqa: E501

        :param suffix: The suffix of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: str
        """

        self._suffix = suffix

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


        :return: The is_remove_prefix of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: AdGroupAdServiceIsRemoveFlg
        """
        return self._is_remove_prefix

    @is_remove_prefix.setter
    def is_remove_prefix(self, is_remove_prefix):
        """Sets the is_remove_prefix of this AdGroupAdServiceDynamicDisplayAd.


        :param is_remove_prefix: The is_remove_prefix of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: AdGroupAdServiceIsRemoveFlg
        """

        self._is_remove_prefix = is_remove_prefix

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


        :return: The is_remove_suffix of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: AdGroupAdServiceIsRemoveFlg
        """
        return self._is_remove_suffix

    @is_remove_suffix.setter
    def is_remove_suffix(self, is_remove_suffix):
        """Sets the is_remove_suffix of this AdGroupAdServiceDynamicDisplayAd.


        :param is_remove_suffix: The is_remove_suffix of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: AdGroupAdServiceIsRemoveFlg
        """

        self._is_remove_suffix = is_remove_suffix

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


        :return: The is_remove_brand_color of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :rtype: AdGroupAdServiceIsRemoveFlg
        """
        return self._is_remove_brand_color

    @is_remove_brand_color.setter
    def is_remove_brand_color(self, is_remove_brand_color):
        """Sets the is_remove_brand_color of this AdGroupAdServiceDynamicDisplayAd.


        :param is_remove_brand_color: The is_remove_brand_color of this AdGroupAdServiceDynamicDisplayAd.  # noqa: E501
        :type: AdGroupAdServiceIsRemoveFlg
        """

        self._is_remove_brand_color = is_remove_brand_color

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

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