def email_address=(email_address)

      if !email_address.nil? && email_address.to_s.length > 255
        fail ArgumentError, "invalid value for 'email_address', the character length must be smaller than or equal to 255."
      end

      @email_address = email_address
    end
def email_address=(email_address)

      if !email_address.nil? && email_address.to_s.length > 255
        fail ArgumentError, "invalid value for 'email_address', the character length must be smaller than or equal to 255."
      end

      @email_address = email_address
    end
Custom attribute writer method with validation
 @param [Object] email_address Value to be assigned