# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from .data_object import DataObject


class ScriptTagCreate(DataObject):
    '''Data object for creating a new script tag to ePages webshop'''

    def __init__(self, scriptUrl=None):

        # string The URL of the script.
        self._scriptUrl = None if scriptUrl == None else self._check_url(
            scriptUrl, "ScriptUrl has to be a str.")

    @property
    def scriptUrl(self):
        return self._scriptUrl

    @scriptUrl.setter
    def scriptUrl(self, value):
        self._scriptUrl = self._check_url(value, "ScriptUrl has to be a str.")

    def is_valid(self):

        # Script url must be set always
        if not self._scriptUrl:
            return False
        else:
            return True

826d853b8c4c9208d37038f1f275b952e8555ae1
<mask token>


class ScriptTagCreate(DataObject):
    <mask token>

    def __init__(self, scriptUrl=None):
        self._scriptUrl = None if scriptUrl == None else self._check_url(
            scriptUrl, 'ScriptUrl has to be a str.')
    <mask token>

    @scriptUrl.setter
    def scriptUrl(self, value):
        self._scriptUrl = self._check_url(value, 'ScriptUrl has to be a str.')

    def is_valid(self):
        if not self._scriptUrl:
            return False
        else:
            return True

<mask token>


class ScriptTagCreate(DataObject):
    <mask token>

    def __init__(self, scriptUrl=None):
        self._scriptUrl = None if scriptUrl == None else self._check_url(
            scriptUrl, 'ScriptUrl has to be a str.')

    @property
    def scriptUrl(self):
        return self._scriptUrl

    @scriptUrl.setter
    def scriptUrl(self, value):
        self._scriptUrl = self._check_url(value, 'ScriptUrl has to be a str.')

    def is_valid(self):
        if not self._scriptUrl:
            return False
        else:
            return True

<mask token>


class ScriptTagCreate(DataObject):
    """Data object for creating a new script tag to ePages webshop"""

    def __init__(self, scriptUrl=None):
        self._scriptUrl = None if scriptUrl == None else self._check_url(
            scriptUrl, 'ScriptUrl has to be a str.')

    @property
    def scriptUrl(self):
        return self._scriptUrl

    @scriptUrl.setter
    def scriptUrl(self, value):
        self._scriptUrl = self._check_url(value, 'ScriptUrl has to be a str.')

    def is_valid(self):
        if not self._scriptUrl:
            return False
        else:
            return True

from __future__ import unicode_literals
from .data_object import DataObject


class ScriptTagCreate(DataObject):
    """Data object for creating a new script tag to ePages webshop"""

    def __init__(self, scriptUrl=None):
        self._scriptUrl = None if scriptUrl == None else self._check_url(
            scriptUrl, 'ScriptUrl has to be a str.')

    @property
    def scriptUrl(self):
        return self._scriptUrl

    @scriptUrl.setter
    def scriptUrl(self, value):
        self._scriptUrl = self._check_url(value, 'ScriptUrl has to be a str.')

    def is_valid(self):
        if not self._scriptUrl:
            return False
        else:
            return True

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from .data_object import DataObject


class ScriptTagCreate(DataObject):
    '''Data object for creating a new script tag to ePages webshop'''

    def __init__(self, scriptUrl=None):

        # string The URL of the script.
        self._scriptUrl = None if scriptUrl == None else self._check_url(
            scriptUrl, "ScriptUrl has to be a str.")

    @property
    def scriptUrl(self):
        return self._scriptUrl

    @scriptUrl.setter
    def scriptUrl(self, value):
        self._scriptUrl = self._check_url(value, "ScriptUrl has to be a str.")

    def is_valid(self):

        # Script url must be set always
        if not self._scriptUrl:
            return False
        else:
            return True
