<commit_before>module Zuora::Objects
  class ProductRatePlan < Base
    belongs_to :product
    has_many :product_rate_plan_charges
    has_many :active_currencies

    validates_length_of :description, :maximum => 500, :allow_nil => true
    validates_datetime_of :effective_start_date, :effective_end_date
    validates_length_of :name, :maximum => 100, :allow_nil => true

    define_attributes do
      read_only :updated_by_id, :updated_date, :created_by_id, :created_date
    end
  end
end
<commit_msg>trying to get product_rate_plan to work after wsdl upgrade<commit_after>module Zuora::Objects
  class ProductRatePlan < Base
    belongs_to :product
    has_many :product_rate_plan_charges
    has_many :active_currencies

    validates_length_of :description, :maximum => 500, :allow_nil => true
    validates_datetime_of :effective_start_date, :effective_end_date
    validates_length_of :name, :maximum => 100, :allow_nil => true

    define_attributes do
      read_only :updated_by_id, :updated_date, :created_by_id, :created_date
      complex :active_currencies
    end
  end
end

{'fraction_non_alphanumeric': 0.06855575868372943, 'fraction_numerical': 0.010968921389396709, 'mean_word_length': 4.855614973262032, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2350538', 'n_tokens_mistral': 367, 'n_tokens_neox': 346, 'n_words': 82}