AllowableRange Class Reference

Inheritance diagram for AllowableRange:

Inheritance graph
[legend]
Collaboration diagram for AllowableRange:

Collaboration graph
[legend]

Public Member Functions

def __init__
def to_wiki

Data Fields

 max_value
 min_value

Detailed Description

Model of a allowableValues of type RANGE

See https://github.com/wordnik/swagger-core/wiki/datatypes#complex-types

Definition at line 214 of file swagger_model.py.


Member Function Documentation

def __init__ (   self,
  min_value,
  max_value 
)

Definition at line 219 of file swagger_model.py.

00219                                             :
00220         self.min_value = min_value
00221         self.max_value = max_value
00222 
    def to_wiki(self):

def to_wiki (   self  ) 

Definition at line 223 of file swagger_model.py.

00223                      :
00224         return "Allowed range: Min: {0}; Max: {1}".format(self.min_value, self.max_value)
00225 
00226 
class AllowableList(Stringify):


Field Documentation

Definition at line 221 of file swagger_model.py.

Definition at line 220 of file swagger_model.py.


The documentation for this class was generated from the following file:

Generated on Thu Apr 16 06:41:38 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6