@@ 13723-13754 (lines=32) @@ | ||
13720 | __repr__ = __str__ |
|
13721 | ||
13722 | ||
13723 | class EndpointUrlListDataType(FrozenClass): |
|
13724 | ''' |
|
13725 | :ivar EndpointUrlList: |
|
13726 | :vartype EndpointUrlList: String |
|
13727 | ''' |
|
13728 | ||
13729 | ua_types = [ |
|
13730 | ||
13731 | ('EndpointUrlList', 'ListOfString'), |
|
13732 | ] |
|
13733 | ||
13734 | def __init__(self): |
|
13735 | self.EndpointUrlList = [] |
|
13736 | self._freeze = True |
|
13737 | ||
13738 | def to_binary(self): |
|
13739 | packet = [] |
|
13740 | packet.append(uabin.Primitives.Int32.pack(len(self.EndpointUrlList))) |
|
13741 | for fieldname in self.EndpointUrlList: |
|
13742 | packet.append(uabin.Primitives.String.pack(fieldname)) |
|
13743 | return b''.join(packet) |
|
13744 | ||
13745 | @staticmethod |
|
13746 | def from_binary(data): |
|
13747 | obj = EndpointUrlListDataType() |
|
13748 | obj.EndpointUrlList = uabin.Primitives.String.unpack_array(data) |
|
13749 | return obj |
|
13750 | ||
13751 | def __str__(self): |
|
13752 | return 'EndpointUrlListDataType(' + 'EndpointUrlList:' + str(self.EndpointUrlList) + ')' |
|
13753 | ||
13754 | __repr__ = __str__ |
|
13755 | ||
13756 | ||
13757 | class NetworkGroupDataType(FrozenClass): |
|
@@ 13463-13494 (lines=32) @@ | ||
13460 | __repr__ = __str__ |
|
13461 | ||
13462 | ||
13463 | class DeleteSubscriptionsParameters(FrozenClass): |
|
13464 | ''' |
|
13465 | :ivar SubscriptionIds: |
|
13466 | :vartype SubscriptionIds: UInt32 |
|
13467 | ''' |
|
13468 | ||
13469 | ua_types = [ |
|
13470 | ||
13471 | ('SubscriptionIds', 'ListOfUInt32'), |
|
13472 | ] |
|
13473 | ||
13474 | def __init__(self): |
|
13475 | self.SubscriptionIds = [] |
|
13476 | self._freeze = True |
|
13477 | ||
13478 | def to_binary(self): |
|
13479 | packet = [] |
|
13480 | packet.append(uabin.Primitives.Int32.pack(len(self.SubscriptionIds))) |
|
13481 | for fieldname in self.SubscriptionIds: |
|
13482 | packet.append(uabin.Primitives.UInt32.pack(fieldname)) |
|
13483 | return b''.join(packet) |
|
13484 | ||
13485 | @staticmethod |
|
13486 | def from_binary(data): |
|
13487 | obj = DeleteSubscriptionsParameters() |
|
13488 | obj.SubscriptionIds = uabin.Primitives.UInt32.unpack_array(data) |
|
13489 | return obj |
|
13490 | ||
13491 | def __str__(self): |
|
13492 | return 'DeleteSubscriptionsParameters(' + 'SubscriptionIds:' + str(self.SubscriptionIds) + ')' |
|
13493 | ||
13494 | __repr__ = __str__ |
|
13495 | ||
13496 | ||
13497 | class DeleteSubscriptionsRequest(FrozenClass): |