Asterisk - The Open Source Telephony Project GIT-master-0bf3178
Public Member Functions | Data Fields
AllowableList Class Reference
Inheritance diagram for AllowableList:
Inheritance graph
[legend]
Collaboration diagram for AllowableList:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, values)
 
def to_wiki (self)
 
- Public Member Functions inherited from Stringify
def __repr__ (self)
 

Data Fields

 values
 

Detailed Description

Model of a allowableValues of type LIST

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

Definition at line 228 of file swagger_model.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  values 
)

Definition at line 233 of file swagger_model.py.

233 def __init__(self, values):
234 self.values = values
235

Member Function Documentation

◆ to_wiki()

def to_wiki (   self)

Definition at line 236 of file swagger_model.py.

236 def to_wiki(self):
237 return "Allowed values: {0}".format(", ".join(self.values))
238
239

References OrderedDict.values(), frame_drop_data.values, frame_trace_data.values, time_unit_labels.values, and AllowableList.values.

Field Documentation

◆ values

Definition at line 234 of file swagger_model.py.

Referenced by AllowableList.to_wiki().


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