| @@ 2164-2190 (lines=27) @@ | ||
| 2161 | ||
| 2162 | __repr__ = __str__ |
|
| 2163 | ||
| 2164 | ||
| 2165 | class DiscoveryConfiguration(FrozenClass): |
|
| 2166 | ''' |
|
| 2167 | A base type for discovery configuration information. |
|
| 2168 | ||
| 2169 | ''' |
|
| 2170 | def __init__(self, binary=None): |
|
| 2171 | if binary is not None: |
|
| 2172 | self._binary_init(binary) |
|
| 2173 | self._freeze = True |
|
| 2174 | return |
|
| 2175 | self._freeze = True |
|
| 2176 | ||
| 2177 | def to_binary(self): |
|
| 2178 | packet = [] |
|
| 2179 | return b''.join(packet) |
|
| 2180 | ||
| 2181 | @staticmethod |
|
| 2182 | def from_binary(data): |
|
| 2183 | return DiscoveryConfiguration(data) |
|
| 2184 | ||
| 2185 | def _binary_init(self, data): |
|
| 2186 | pass |
|
| 2187 | ||
| 2188 | def __str__(self): |
|
| 2189 | return 'DiscoveryConfiguration(' + + ')' |
|
| 2190 | ||
| 2191 | __repr__ = __str__ |
|
| 2192 | ||
| 2193 | ||
| @@ 1033-1059 (lines=27) @@ | ||
| 1030 | ||
| 1031 | __repr__ = __str__ |
|
| 1032 | ||
| 1033 | ||
| 1034 | class Union(FrozenClass): |
|
| 1035 | ''' |
|
| 1036 | This abstract DataType is the base DataType for all union DataTypes. |
|
| 1037 | ||
| 1038 | ''' |
|
| 1039 | def __init__(self, binary=None): |
|
| 1040 | if binary is not None: |
|
| 1041 | self._binary_init(binary) |
|
| 1042 | self._freeze = True |
|
| 1043 | return |
|
| 1044 | self._freeze = True |
|
| 1045 | ||
| 1046 | def to_binary(self): |
|
| 1047 | packet = [] |
|
| 1048 | return b''.join(packet) |
|
| 1049 | ||
| 1050 | @staticmethod |
|
| 1051 | def from_binary(data): |
|
| 1052 | return Union(data) |
|
| 1053 | ||
| 1054 | def _binary_init(self, data): |
|
| 1055 | pass |
|
| 1056 | ||
| 1057 | def __str__(self): |
|
| 1058 | return 'Union(' + + ')' |
|
| 1059 | ||
| 1060 | __repr__ = __str__ |
|
| 1061 | ||
| 1062 | ||
| @@ 11582-11606 (lines=25) @@ | ||
| 11579 | ||
| 11580 | __repr__ = __str__ |
|
| 11581 | ||
| 11582 | ||
| 11583 | class NotificationData(FrozenClass): |
|
| 11584 | ''' |
|
| 11585 | ''' |
|
| 11586 | def __init__(self, binary=None): |
|
| 11587 | if binary is not None: |
|
| 11588 | self._binary_init(binary) |
|
| 11589 | self._freeze = True |
|
| 11590 | return |
|
| 11591 | self._freeze = True |
|
| 11592 | ||
| 11593 | def to_binary(self): |
|
| 11594 | packet = [] |
|
| 11595 | return b''.join(packet) |
|
| 11596 | ||
| 11597 | @staticmethod |
|
| 11598 | def from_binary(data): |
|
| 11599 | return NotificationData(data) |
|
| 11600 | ||
| 11601 | def _binary_init(self, data): |
|
| 11602 | pass |
|
| 11603 | ||
| 11604 | def __str__(self): |
|
| 11605 | return 'NotificationData(' + + ')' |
|
| 11606 | ||
| 11607 | __repr__ = __str__ |
|
| 11608 | ||
| 11609 | ||
| @@ 9749-9773 (lines=25) @@ | ||
| 9746 | ||
| 9747 | __repr__ = __str__ |
|
| 9748 | ||
| 9749 | ||
| 9750 | class MonitoringFilterResult(FrozenClass): |
|
| 9751 | ''' |
|
| 9752 | ''' |
|
| 9753 | def __init__(self, binary=None): |
|
| 9754 | if binary is not None: |
|
| 9755 | self._binary_init(binary) |
|
| 9756 | self._freeze = True |
|
| 9757 | return |
|
| 9758 | self._freeze = True |
|
| 9759 | ||
| 9760 | def to_binary(self): |
|
| 9761 | packet = [] |
|
| 9762 | return b''.join(packet) |
|
| 9763 | ||
| 9764 | @staticmethod |
|
| 9765 | def from_binary(data): |
|
| 9766 | return MonitoringFilterResult(data) |
|
| 9767 | ||
| 9768 | def _binary_init(self, data): |
|
| 9769 | pass |
|
| 9770 | ||
| 9771 | def __str__(self): |
|
| 9772 | return 'MonitoringFilterResult(' + + ')' |
|
| 9773 | ||
| 9774 | __repr__ = __str__ |
|
| 9775 | ||
| 9776 | ||
| @@ 9531-9555 (lines=25) @@ | ||
| 9528 | ||
| 9529 | __repr__ = __str__ |
|
| 9530 | ||
| 9531 | ||
| 9532 | class MonitoringFilter(FrozenClass): |
|
| 9533 | ''' |
|
| 9534 | ''' |
|
| 9535 | def __init__(self, binary=None): |
|
| 9536 | if binary is not None: |
|
| 9537 | self._binary_init(binary) |
|
| 9538 | self._freeze = True |
|
| 9539 | return |
|
| 9540 | self._freeze = True |
|
| 9541 | ||
| 9542 | def to_binary(self): |
|
| 9543 | packet = [] |
|
| 9544 | return b''.join(packet) |
|
| 9545 | ||
| 9546 | @staticmethod |
|
| 9547 | def from_binary(data): |
|
| 9548 | return MonitoringFilter(data) |
|
| 9549 | ||
| 9550 | def _binary_init(self, data): |
|
| 9551 | pass |
|
| 9552 | ||
| 9553 | def __str__(self): |
|
| 9554 | return 'MonitoringFilter(' + + ')' |
|
| 9555 | ||
| 9556 | __repr__ = __str__ |
|
| 9557 | ||
| 9558 | ||
| @@ 7995-8019 (lines=25) @@ | ||
| 7992 | ||
| 7993 | __repr__ = __str__ |
|
| 7994 | ||
| 7995 | ||
| 7996 | class HistoryReadDetails(FrozenClass): |
|
| 7997 | ''' |
|
| 7998 | ''' |
|
| 7999 | def __init__(self, binary=None): |
|
| 8000 | if binary is not None: |
|
| 8001 | self._binary_init(binary) |
|
| 8002 | self._freeze = True |
|
| 8003 | return |
|
| 8004 | self._freeze = True |
|
| 8005 | ||
| 8006 | def to_binary(self): |
|
| 8007 | packet = [] |
|
| 8008 | return b''.join(packet) |
|
| 8009 | ||
| 8010 | @staticmethod |
|
| 8011 | def from_binary(data): |
|
| 8012 | return HistoryReadDetails(data) |
|
| 8013 | ||
| 8014 | def _binary_init(self, data): |
|
| 8015 | pass |
|
| 8016 | ||
| 8017 | def __str__(self): |
|
| 8018 | return 'HistoryReadDetails(' + + ')' |
|
| 8019 | ||
| 8020 | __repr__ = __str__ |
|
| 8021 | ||
| 8022 | ||