def list_subscribers(operatorId:@auth[:operatorId], limit:1024, filter:{})
      filter = Hash[filter.map { |k, v| [k.to_sym, v] }]
      if filter[:key].nil?
        return @api.get(path: '/subscribers', params: { operatorId: operatorId, limit: limit })
      end

      # filterありの場合
      case filter[:key]
      when 'imsi'
        [@api.get(path: "/subscribers/#{filter[:value]}", params: { operatorId: operatorId, limit: limit })]
      when 'msisdn'
        [@api.get(path: "/subscribers/msisdn/#{filter[:value]}", params: { operatorId: operatorId, limit: limit })]
      when 'status'
        @api.get(path: '/subscribers', params: { operatorId: operatorId, limit: limit, status_filter: filter[:value].gsub('|', '%7C') })
      when 'speed_class'
        @api.get(path: '/subscribers', params: { operatorId: operatorId, limit: limit, speed_class_filter: filter[:value] })
      when 'serial_number'
        @api.get(path: '/subscribers', params: { operatorId: operatorId, limit: limit, serial_number_filter: filter[:value].gsub('|', '%7C') })
      else
        @api.get(path: '/subscribers', params: { operatorId: operatorId, limit: limit, tag_name: filter[:key], tag_value: filter[:value], tag_value_match_mode: filter[:mode] || 'exact' })
      end
    end
def list_subscribers(operatorId:@auth[:operatorId], limit:1024, filter:{})
      filter = Hash[filter.map { |k, v| [k.to_sym, v] }]
      if filter[:key].nil?
        return @api.get(path: '/subscribers', params: { operatorId: operatorId, limit: limit })
      end

      # filterありの場合
      case filter[:key]
      when 'imsi'
        [@api.get(path: "/subscribers/#{filter[:value]}", params: { operatorId: operatorId, limit: limit })]
      when 'msisdn'
        [@api.get(path: "/subscribers/msisdn/#{filter[:value]}", params: { operatorId: operatorId, limit: limit })]
      when 'status'
        @api.get(path: '/subscribers', params: { operatorId: operatorId, limit: limit, status_filter: filter[:value].gsub('|', '%7C') })
      when 'speed_class'
        @api.get(path: '/subscribers', params: { operatorId: operatorId, limit: limit, speed_class_filter: filter[:value] })
      when 'serial_number'
        @api.get(path: '/subscribers', params: { operatorId: operatorId, limit: limit, serial_number_filter: filter[:value].gsub('|', '%7C') })
      else
        @api.get(path: '/subscribers', params: { operatorId: operatorId, limit: limit, tag_name: filter[:key], tag_value: filter[:value], tag_value_match_mode: filter[:mode] || 'exact' })
      end
    end
設定されなかった場合には、環境変数から認証情報を取得
 特定Operator下のSubscriber一覧を取