def attribute_prefix=(attribute_prefix)
      if attribute_prefix.nil?
        fail ArgumentError, "attribute_prefix cannot be nil"
      end

      if attribute_prefix.to_s.length < 1
        fail ArgumentError, "invalid value for 'attribute_prefix', the character length must be great than or equal to 1."
      end

      @attribute_prefix = attribute_prefix
    end
def attribute_prefix=(attribute_prefix)
      if attribute_prefix.nil?
        fail ArgumentError, "attribute_prefix cannot be nil"
      end

      if attribute_prefix.to_s.length < 1
        fail ArgumentError, "invalid value for 'attribute_prefix', the character length must be great than or equal to 1."
      end

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