Method: Kickflow::RoleUpdateBodyPermissionListInner#valid?
- Defined in:
- lib/kickflow/models/role_update_body_permission_list_inner.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
170 171 172 173 174 175 176 177 178 179 180 |
# File 'lib/kickflow/models/role_update_body_permission_list_inner.rb', line 170 def valid? warn '[DEPRECATED] the `valid?` method is obsolete' return false if @permission.nil? = EnumAttributeValidator.new('String', ["tenant", "billing", "integration", "security", "audit", "stats", "workflow", "user", "team", "role", "master", "ticket_read", "ticket_write", "label", "automation"]) return false unless .valid?(@permission) return false if @restricted.nil? return false if @folder_ids.nil? return false if @general_master_ids.nil? return false if @team_ids.nil? true end |