Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.3 KB

RestrictedModelError.md

File metadata and controls

31 lines (22 loc) · 1.3 KB

RestrictedModelError

Properties

Name Type Description Notes
key str The model config key that was not added
message str Why the key was not added. A key that a config variation uses cannot be restricted. Move those variations to a different model first.
code int HTTP status code for this key. `400` means a config variation uses the key. `404` means the key does not exist in the project.

Example

from launchdarkly_api.models.restricted_model_error import RestrictedModelError

# TODO update the JSON string below
json = "{}"
# create an instance of RestrictedModelError from a JSON string
restricted_model_error_instance = RestrictedModelError.from_json(json)
# print the JSON string representation of the object
print(RestrictedModelError.to_json())

# convert the object into a dict
restricted_model_error_dict = restricted_model_error_instance.to_dict()
# create an instance of RestrictedModelError from a dict
restricted_model_error_from_dict = RestrictedModelError.from_dict(restricted_model_error_dict)

[Back to Model list] [Back to API list] [Back to README]