template_model.py 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # Copyright (c) 2011 X.commerce, a business unit of eBay Inc.
  2. # Copyright 2010 United States Government as represented by the
  3. # Administrator of the National Aeronautics and Space Administration.
  4. # Copyright 2011 Piston Cloud Computing, Inc.
  5. # All Rights Reserved.
  6. #
  7. # Licensed under the Apache License, Version 2.0 (the "License"); you may
  8. # not use this file except in compliance with the License. You may obtain
  9. # a copy of the License at
  10. #
  11. # http://www.apache.org/licenses/LICENSE-2.0
  12. #
  13. # Unless required by applicable law or agreed to in writing, software
  14. # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  15. # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  16. # License for the specific language governing permissions and limitations
  17. # under the License.
  18. # -*- coding: utf-8 -*-
  19. """
  20. This module provides models for template-sdk.
  21. """
  22. class TemplateIpAddressInfo(object):
  23. """Template IP Address Info"""
  24. def __init__(self, ip_address=None, description=None):
  25. """
  26. :param ip_address: ip_address
  27. :type ip_address: string
  28. :param description: description
  29. :type description: string
  30. """
  31. self.ip_address = ip_address
  32. self.description = description