Method: Bandwidth::TranscribeRecording#list_invalid_properties
- Defined in:
- lib/bandwidth-sdk/models/transcribe_recording.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
# File 'lib/bandwidth-sdk/models/transcribe_recording.rb', line 155 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new if !@username.nil? && @username.to_s.length > 1024 invalid_properties.push('invalid value for "username", the character length must be smaller than or equal to 1024.') end if !@password.nil? && @password.to_s.length > 1024 invalid_properties.push('invalid value for "password", the character length must be smaller than or equal to 1024.') end if !@callback_timeout.nil? && @callback_timeout > 25 invalid_properties.push('invalid value for "callback_timeout", must be smaller than or equal to 25.') end if !@callback_timeout.nil? && @callback_timeout < 1 invalid_properties.push('invalid value for "callback_timeout", must be greater than or equal to 1.') end invalid_properties end |