Skip to content

Commit

Permalink
added python bindings for class JsonEnumProfile
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidNeuroth committed Oct 31, 2024
1 parent 15b6b5b commit f9c2802
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions pylpg/lpgpythonbindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,59 @@ def set_HouseKey(self, value: HouseholdKeyEntry) -> JsonSumProfile:
return self


# noinspection PyPep8Naming, PyUnusedLocal
@dataclass_json
@dataclass
class JsonEnumProfile:
Name: Optional[str] = ""

def set_Name(self, value: str) -> JsonEnumProfile:
self.Name = value
return self

TimeResolution: str = "00:01:00"

def set_TimeResolution(self, value: str) -> JsonEnumProfile:
self.TimeResolution = value
return self

Values: List[str] = field(default_factory=list)

def set_Values(self, value: List[str]) -> JsonEnumProfile:
self.Values = value
return self

StartTime: Optional[str] = ""

def set_StartTime(self, value: str) -> JsonEnumProfile:
self.StartTime = value
return self

LoadTypeName: Optional[str] = ""

def set_LoadTypeName(self, value: str) -> JsonEnumProfile:
self.LoadTypeName = value
return self

LoadTypeDefinition: Optional[LoadTypeInformation] = None

def set_LoadTypeDefinition(self, value: LoadTypeInformation) -> JsonEnumProfile:
self.LoadTypeDefinition = value
return self

Unit: Optional[str] = ""

def set_Unit(self, value: str) -> JsonEnumProfile:
self.Unit = value
return self

HouseKey: Optional[HouseholdKeyEntry] = None

def set_HouseKey(self, value: HouseholdKeyEntry) -> JsonEnumProfile:
self.HouseKey = value
return self


# noinspection PyPep8Naming, PyUnusedLocal
@dataclass_json
@dataclass
Expand Down

0 comments on commit f9c2802

Please sign in to comment.