Struct graph_rs_sdk::contracts::ContractsApiClient
source · pub struct ContractsApiClient { /* private fields */ }
Implementations§
source§impl ContractsApiClient
impl ContractsApiClient
pub fn id<ID: AsRef<str>>(&self, id: ID) -> ContractsIdApiClient
source§impl ContractsApiClient
impl ContractsApiClient
sourcepub fn create_contract<B: BodyExt>(&self, body: B) -> RequestHandler
pub fn create_contract<B: BodyExt>(&self, body: B) -> RequestHandler
Add new entity to contracts
sourcepub fn list_contract(&self) -> RequestHandler
pub fn list_contract(&self) -> RequestHandler
List contracts
sourcepub fn get_contracts_count(&self) -> RequestHandler
pub fn get_contracts_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 ContractsApiClient
impl ApiClientImpl for ContractsApiClient
source§impl Debug for ContractsApiClient
impl Debug for ContractsApiClient
source§impl ODataQuery<ContractsApiClient> for ContractsApiClient
impl ODataQuery<ContractsApiClient> for ContractsApiClient
fn append_query_pair<KV: AsRef<str>>(self, key: KV, value: KV) -> Self
source§fn count<S>(self, value: S) -> Selfwhere
S: AsRef<str>,
fn count<S>(self, value: S) -> Selfwhere S: AsRef<str>,
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) -> Selfwhere
S: AsRef<str>,
fn search<S>(self, value: S) -> Selfwhere S: AsRef<str>,
Returns results based on search criteria.
See the docs
source§fn format<S>(self, value: S) -> Selfwhere
S: AsRef<str>,
fn format<S>(self, value: S) -> Selfwhere S: AsRef<str>,
Returns the results in the specified media format.
See the docs
source§fn skip<S>(self, value: S) -> Selfwhere
S: AsRef<str>,
fn skip<S>(self, value: S) -> Selfwhere S: AsRef<str>,
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) -> Selfwhere
S: AsRef<str>,
fn skip_token<S>(self, value: S) -> Selfwhere S: AsRef<str>,
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) -> Selfwhere
S: AsRef<str>,
fn delta_token<S>(self, value: S) -> Selfwhere S: AsRef<str>,
Retrieves the next page of results from result sets that span multiple pages.
(Some APIs use $skip instead.)
See the docs