_simpleRequest('/api.DeviceProfileService/Create', $argument, ['\Chirpstack\Api\CreateDeviceProfileResponse', 'decode'], $metadata, $options); } /** * Get the device-profile for the given ID. * @param \Chirpstack\Api\GetDeviceProfileRequest $argument input argument * @param array $metadata metadata * @param array $options call options * @return \Grpc\UnaryCall */ public function Get(\Chirpstack\Api\GetDeviceProfileRequest $argument, $metadata = [], $options = []) { return $this->_simpleRequest('/api.DeviceProfileService/Get', $argument, ['\Chirpstack\Api\GetDeviceProfileResponse', 'decode'], $metadata, $options); } /** * Update the given device-profile. * @param \Chirpstack\Api\UpdateDeviceProfileRequest $argument input argument * @param array $metadata metadata * @param array $options call options * @return \Grpc\UnaryCall */ public function Update(\Chirpstack\Api\UpdateDeviceProfileRequest $argument, $metadata = [], $options = []) { return $this->_simpleRequest('/api.DeviceProfileService/Update', $argument, ['\Google\Protobuf\GPBEmpty', 'decode'], $metadata, $options); } /** * Delete the device-profile with the given ID. * @param \Chirpstack\Api\DeleteDeviceProfileRequest $argument input argument * @param array $metadata metadata * @param array $options call options * @return \Grpc\UnaryCall */ public function Delete(\Chirpstack\Api\DeleteDeviceProfileRequest $argument, $metadata = [], $options = []) { return $this->_simpleRequest('/api.DeviceProfileService/Delete', $argument, ['\Google\Protobuf\GPBEmpty', 'decode'], $metadata, $options); } /** * List the available device-profiles. * @param \Chirpstack\Api\ListDeviceProfilesRequest $argument input argument * @param array $metadata metadata * @param array $options call options * @return \Grpc\UnaryCall */ public function List(\Chirpstack\Api\ListDeviceProfilesRequest $argument, $metadata = [], $options = []) { return $this->_simpleRequest('/api.DeviceProfileService/List', $argument, ['\Chirpstack\Api\ListDeviceProfilesResponse', 'decode'], $metadata, $options); } /** * List available ADR algorithms. * @param \Google\Protobuf\GPBEmpty $argument input argument * @param array $metadata metadata * @param array $options call options * @return \Grpc\UnaryCall */ public function ListAdrAlgorithms(\Google\Protobuf\GPBEmpty $argument, $metadata = [], $options = []) { return $this->_simpleRequest('/api.DeviceProfileService/ListAdrAlgorithms', $argument, ['\Chirpstack\Api\ListDeviceProfileAdrAlgorithmsResponse', 'decode'], $metadata, $options); } }