pub struct DevicesApiClient { /* private fields */ }
Implementations§
Source§impl DevicesApiClient
impl DevicesApiClient
pub fn id<ID: AsRef<str>>(&self, id: ID) -> DevicesIdApiClient
Source§impl DevicesApiClient
impl DevicesApiClient
Sourcepub fn create_device<B: BodyExt>(&self, body: B) -> RequestHandler
pub fn create_device<B: BodyExt>(&self, body: B) -> RequestHandler
Create device
Sourcepub fn list_device(&self) -> RequestHandler
pub fn list_device(&self) -> RequestHandler
List devices
Sourcepub fn delete_device_by_device_id(
&self,
device_id: impl AsRef<str>,
) -> RequestHandler
pub fn delete_device_by_device_id( &self, device_id: impl AsRef<str>, ) -> RequestHandler
Delete device
Sourcepub fn get_device_by_device_id(
&self,
device_id: impl AsRef<str>,
) -> RequestHandler
pub fn get_device_by_device_id( &self, device_id: impl AsRef<str>, ) -> RequestHandler
Get device
Sourcepub fn update_device_by_device_id<B: BodyExt>(
&self,
device_id: impl AsRef<str>,
body: B,
) -> RequestHandler
pub fn update_device_by_device_id<B: BodyExt>( &self, device_id: impl AsRef<str>, body: B, ) -> RequestHandler
Update device
Sourcepub fn get_devices_count(&self) -> RequestHandler
pub fn get_devices_count(&self) -> RequestHandler
Get the number of the resource
Sourcepub fn delta(&self) -> RequestHandler
pub fn delta(&self) -> RequestHandler
Invoke function delta
Sourcepub fn get_available_extension_properties<B: BodyExt>(
&self,
body: B,
) -> RequestHandler
pub fn get_available_extension_properties<B: BodyExt>( &self, body: B, ) -> RequestHandler
Invoke action getAvailableExtensionProperties
Sourcepub fn get_by_ids<B: BodyExt>(&self, body: B) -> RequestHandler
pub fn get_by_ids<B: BodyExt>(&self, body: B) -> RequestHandler
Invoke action getByIds
Sourcepub fn validate_properties<B: BodyExt>(&self, body: B) -> RequestHandler
pub fn validate_properties<B: BodyExt>(&self, body: B) -> RequestHandler
Invoke action validateProperties
Trait Implementations§
Source§impl ApiClientImpl for DevicesApiClient
impl ApiClientImpl for DevicesApiClient
Source§impl Debug for DevicesApiClient
impl Debug for DevicesApiClient
Source§impl ODataQuery for DevicesApiClient
impl ODataQuery for DevicesApiClient
fn append_query_pair<KV: AsRef<str>>(self, key: KV, value: KV) -> Self
Source§fn count<S>(self, value: S) -> Self
fn count<S>(self, value: S) -> Self
Retrieves the total count of matching resources.
See the docs
Source§fn select(self, value: &[&str]) -> Self
fn select(self, value: &[&str]) -> Self
Filters properties (columns).
See the docs
Source§fn expand(self, value: &[&str]) -> Self
fn expand(self, value: &[&str]) -> Self
Retrieves related resources.
See the docs
Source§fn filter(self, value: &[&str]) -> Self
fn filter(self, value: &[&str]) -> Self
Filters results (rows).
See the docs
Source§fn order_by(self, value: &[&str]) -> Self
fn order_by(self, value: &[&str]) -> Self
Orders results.
See the docs
Source§fn search<S>(self, value: S) -> Self
fn search<S>(self, value: S) -> Self
Returns results based on search criteria.
See the docs
Source§fn format<S>(self, value: S) -> Self
fn format<S>(self, value: S) -> Self
Returns the results in the specified media format.
See the docs
Source§fn skip<S>(self, value: S) -> Self
fn skip<S>(self, value: S) -> Self
Indexes into a result set. Also used by some APIs to implement paging and can be used
together with $top to manually page results.
See the docs
Source§fn skip_token<S>(self, value: S) -> Self
fn skip_token<S>(self, value: S) -> Self
Retrieves the next page of results from result sets that span multiple pages.
(Some APIs use $skip instead.)
See the docs
Source§fn delta_token<S>(self, value: S) -> Self
fn delta_token<S>(self, value: S) -> Self
Retrieves the next page of results from result sets that span multiple pages.
(Some APIs use $skip instead.)
See the docs
Auto Trait Implementations§
impl !Freeze for DevicesApiClient
impl !RefUnwindSafe for DevicesApiClient
impl Send for DevicesApiClient
impl Sync for DevicesApiClient
impl Unpin for DevicesApiClient
impl !UnwindSafe for DevicesApiClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more