route_model.py 280 B

1234567891011121314
  1. """
  2. This module provides models for Route-SDK.
  3. """
  4. class NextHop(object):
  5. """
  6. NextHop
  7. """
  8. def __init__(self, next_hop_id, next_hop_type, path_type):
  9. self.nexthopId = next_hop_id
  10. self.nexthopType = next_hop_type
  11. self.pathType = path_type