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



129
130
131
132
133
134
135
# File 'lib/ory-client/models/expanded_permission_tree.rb', line 129

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  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