Asterisk - The Open Source Telephony Project  18.5.0
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.

References format, time_unit_labels.values, frame_trace_data.values, frame_drop_data.values, and AllowableList.values.

236  def to_wiki(self):
237  return "Allowed values: {0}".format(", ".join(self.values))
238 
239 
static snd_pcm_format_t format
Definition: chan_alsa.c:102

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: