GeezerVison is showing github.com — api-client-python/docs/Classifier.md at main · launchdarkly/api-client-python
32 lines (23 loc) · 1.1 KB
File metadata and controls
32 lines (23 loc) · 1.1 KB
Copy raw file
Download raw file
OutlineEdit and raw actions
| Name |
Type |
Description |
Notes |
| key |
str |
|
|
| type |
str |
|
|
| instructions |
str |
|
|
| criteria |
object |
Type-specific criteria. An enum classifier uses a map of option keys to descriptions. A float classifier uses an ordered list of level labels. A bool classifier uses optional true and false descriptions. |
[optional] |
from launchdarkly_api.models.classifier import Classifier
# TODO update the JSON string below
json = "{}"
# create an instance of Classifier from a JSON string
classifier_instance = Classifier.from_json(json)
# print the JSON string representation of the object
print(Classifier.to_json())
# convert the object into a dict
classifier_dict = classifier_instance.to_dict()
# create an instance of Classifier from a dict
classifier_from_dict = Classifier.from_dict(classifier_dict)
[Back to Model list] [Back to API list] [Back to README]