def cache_id=(cache_id)
      if cache_id.nil?
        fail ArgumentError, 'cache_id cannot be nil'
      end

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

      @cache_id = cache_id
    end
def cache_id=(cache_id)
      if cache_id.nil?
        fail ArgumentError, 'cache_id cannot be nil'
      end

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

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