# This an autogenerated file
# 
# Generated with MetoceanFatigueAnalysis
from __future__ import annotations
from typing import Dict,Sequence,List
from dmt.entity import Entity
from dmt.blueprint import Blueprint
from .blueprints.metoceanfatigueanalysis import MetoceanFatigueAnalysisBlueprint
from typing import Dict
from sima.sima.condition import Condition
from sima.sima.resultcontainer import ResultContainer
from sima.sima.scriptablevalue import ScriptableValue
from typing import TYPE_CHECKING
if TYPE_CHECKING:
    from sima.sima.condition import Condition

class MetoceanFatigueAnalysis(Condition):
    """
    Keyword arguments
    -----------------
    name : str
         (default "")
    description : str
         (default "")
    _id : str
         (default "")
    scriptableValues : List[ScriptableValue]
    changeNumber : int
         (default 0)
    resultContainer : ResultContainer
    metoceanCondition : Condition
    analysisCondition : Condition
    """

    def __init__(self , name="", description="", _id="", changeNumber=0, **kwargs):
        super().__init__(**kwargs)
        self.name = name
        self.description = description
        self._id = _id
        self.scriptableValues = list()
        self.changeNumber = changeNumber
        self.resultContainer = None
        self.metoceanCondition = None
        self.analysisCondition = None
        for key, value in kwargs.items():
            if not isinstance(value, Dict):
                setattr(self, key, value)


    @property
    def blueprint(self) -> Blueprint:
        """Return blueprint that this entity represents"""
        return MetoceanFatigueAnalysisBlueprint()


    @property
    def name(self) -> str:
        """"""
        return self.__name

    @name.setter
    def name(self, value: str):
        """Set name"""
        self.__name = str(value)

    @property
    def description(self) -> str:
        """"""
        return self.__description

    @description.setter
    def description(self, value: str):
        """Set description"""
        self.__description = str(value)

    @property
    def _id(self) -> str:
        """"""
        return self.___id

    @_id.setter
    def _id(self, value: str):
        """Set _id"""
        self.___id = str(value)

    @property
    def scriptableValues(self) -> List[ScriptableValue]:
        """"""
        return self.__scriptableValues

    @scriptableValues.setter
    def scriptableValues(self, value: List[ScriptableValue]):
        """Set scriptableValues"""
        if not isinstance(value, Sequence):
            raise Exception("Expected sequense, but was " , type(value))
        self.__scriptableValues = value

    @property
    def changeNumber(self) -> int:
        """"""
        return self.__changeNumber

    @changeNumber.setter
    def changeNumber(self, value: int):
        """Set changeNumber"""
        self.__changeNumber = int(value)

    @property
    def resultContainer(self) -> ResultContainer:
        """"""
        return self.__resultContainer

    @resultContainer.setter
    def resultContainer(self, value: ResultContainer):
        """Set resultContainer"""
        self.__resultContainer = value

    @property
    def metoceanCondition(self) -> Condition:
        """"""
        return self.__metoceanCondition

    @metoceanCondition.setter
    def metoceanCondition(self, value: Condition):
        """Set metoceanCondition"""
        self.__metoceanCondition = value

    @property
    def analysisCondition(self) -> Condition:
        """"""
        return self.__analysisCondition

    @analysisCondition.setter
    def analysisCondition(self, value: Condition):
        """Set analysisCondition"""
        self.__analysisCondition = value

# This an autogenerated file
# 
# Generated with MetoceanFatigueAnalysis
from __future__ import annotations
from typing import Dict,Sequence,List
from dmt.entity import Entity
from dmt.blueprint import Blueprint
from .blueprints.metoceanfatigueanalysis import MetoceanFatigueAnalysisBlueprint
from typing import Dict
from sima.sima.condition import Condition
from sima.sima.resultcontainer import ResultContainer
from sima.sima.scriptablevalue import ScriptableValue
from typing import TYPE_CHECKING
if TYPE_CHECKING:
    from sima.sima.condition import Condition

class MetoceanFatigueAnalysis(Condition):
    """
    Keyword arguments
    -----------------
    name : str
         (default "")
    description : str
         (default "")
    _id : str
         (default "")
    scriptableValues : List[ScriptableValue]
    changeNumber : int
         (default 0)
    resultContainer : ResultContainer
    metoceanCondition : Condition
    analysisCondition : Condition
    """

    def __init__(self , name="", description="", _id="", changeNumber=0, **kwargs):
        super().__init__(**kwargs)
        self.name = name
        self.description = description
        self._id = _id
        self.scriptableValues = list()
        self.changeNumber = changeNumber
        self.resultContainer = None
        self.metoceanCondition = None
        self.analysisCondition = None
        for key, value in kwargs.items():
            if not isinstance(value, Dict):
                setattr(self, key, value)


    @property
    def blueprint(self) -> Blueprint:
        """Return blueprint that this entity represents"""
        return MetoceanFatigueAnalysisBlueprint()


    @property
    def name(self) -> str:
        """"""
        return self.__name

    @name.setter
    def name(self, value: str):
        """Set name"""
        self.__name = str(value)

    @property
    def description(self) -> str:
        """"""
        return self.__description

    @description.setter
    def description(self, value: str):
        """Set description"""
        self.__description = str(value)

    @property
    def _id(self) -> str:
        """"""
        return self.___id

    @_id.setter
    def _id(self, value: str):
        """Set _id"""
        self.___id = str(value)

    @property
    def scriptableValues(self) -> List[ScriptableValue]:
        """"""
        return self.__scriptableValues

    @scriptableValues.setter
    def scriptableValues(self, value: List[ScriptableValue]):
        """Set scriptableValues"""
        if not isinstance(value, Sequence):
            raise Exception("Expected sequense, but was " , type(value))
        self.__scriptableValues = value

    @property
    def changeNumber(self) -> int:
        """"""
        return self.__changeNumber

    @changeNumber.setter
    def changeNumber(self, value: int):
        """Set changeNumber"""
        self.__changeNumber = int(value)

    @property
    def resultContainer(self) -> ResultContainer:
        """"""
        return self.__resultContainer

    @resultContainer.setter
    def resultContainer(self, value: ResultContainer):
        """Set resultContainer"""
        self.__resultContainer = value

    @property
    def metoceanCondition(self) -> Condition:
        """"""
        return self.__metoceanCondition

    @metoceanCondition.setter
    def metoceanCondition(self, value: Condition):
        """Set metoceanCondition"""
        self.__metoceanCondition = value

    @property
    def analysisCondition(self) -> Condition:
        """"""
        return self.__analysisCondition

    @analysisCondition.setter
    def analysisCondition(self, value: Condition):
        """Set analysisCondition"""
        self.__analysisCondition = value

# This an autogenerated file # # Generated with MetoceanFatigueAnalysis Keyword arguments     -----------------     name : str          (default "")     description : str          (default "")     _id : str          (default "")     scriptableValues : List[ScriptableValue]     changeNumber : int          (default 0)     resultContainer : ResultContainer     metoceanCondition : Condition     analysisCondition : Condition Return blueprint that this entity represents Set name Set description Set _id Set scriptableValues Set changeNumber Set resultContainer Set metoceanCondition Set analysisCondition