Asterisk - The Open Source Telephony Project  GIT-master-a1fa8df
Public Member Functions | Data Fields
AllowableList Class Reference

Inherits Stringify.

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:106

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: