Method: InfluxDB2::ScriptCreateRequest#list_invalid_properties
- Defined in:
- lib/influxdb2/client/models/script_create_request.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
# File 'lib/influxdb2/client/models/script_create_request.rb', line 88 def list_invalid_properties invalid_properties = Array.new if @name.nil? invalid_properties.push('invalid value for "name", name cannot be nil.') end if @description.nil? invalid_properties.push('invalid value for "description", description cannot be nil.') end if @script.nil? invalid_properties.push('invalid value for "script", script cannot be nil.') end if @language.nil? invalid_properties.push('invalid value for "language", language cannot be nil.') end invalid_properties end |