Method: OpenapiClient::ConditionSetRuleRead#list_invalid_properties

Defined in:
lib/openapi_client/models/condition_set_rule_read.rb

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
# File 'lib/openapi_client/models/condition_set_rule_read.rb', line 149

def list_invalid_properties
  invalid_properties = Array.new
  if @id.nil?
    invalid_properties.push('invalid value for "id", id cannot be nil.')
  end

  if @key.nil?
    invalid_properties.push('invalid value for "key", key cannot be nil.')
  end

  if @user_set.nil?
    invalid_properties.push('invalid value for "user_set", user_set cannot be nil.')
  end

  if @permission.nil?
    invalid_properties.push('invalid value for "permission", permission cannot be nil.')
  end

  if @resource_set.nil?
    invalid_properties.push('invalid value for "resource_set", resource_set cannot be nil.')
  end

  if @organization_id.nil?
    invalid_properties.push('invalid value for "organization_id", organization_id cannot be nil.')
  end

  if @project_id.nil?
    invalid_properties.push('invalid value for "project_id", project_id cannot be nil.')
  end

  if @environment_id.nil?
    invalid_properties.push('invalid value for "environment_id", environment_id cannot be nil.')
  end

  if @created_at.nil?
    invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
  end

  if @updated_at.nil?
    invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
  end

  invalid_properties
end