Method: OryClient::ExpandedPermissionTree#valid?
- Defined in:
- lib/ory-client/models/expanded_permission_tree.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
120 121 122 123 124 125 |
# File 'lib/ory-client/models/expanded_permission_tree.rb', line 120 def valid? return false if @type.nil? type_validator = EnumAttributeValidator.new('String', ["union", "exclusion", "intersection", "leaf", "tuple_to_subject_set", "computed_subject_set", "not", "unspecified"]) return false unless type_validator.valid?(@type) true end |