Method: Bandwidth::MmsMessageContent#list_invalid_properties

Defined in:
lib/bandwidth-sdk/models/mms_message_content.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



84
85
86
87
88
89
90
91
92
# File 'lib/bandwidth-sdk/models/mms_message_content.rb', line 84

def list_invalid_properties
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
  invalid_properties = Array.new
  if !@text.nil? && @text.to_s.length > 2048
    invalid_properties.push('invalid value for "text", the character length must be smaller than or equal to 2048.')
  end

  invalid_properties
end