code: def list_campaign_device_states(self, campaign_id, **kwargs):
          kwargs = self._verify_sort_options(kwargs)
          kwargs = self._verify_filters(kwargs, CampaignDeviceState, True)
          kwargs["campaign_id"] = campaign_id
          api = self._get_api(update_service.DefaultApi)
          return PaginatedResponse(api.update_campaign_metadata_list,
                                   lwrap_type=CampaignDeviceState, **kwargs)