Struct AdminApiClient

Source
pub struct AdminApiClient { /* private fields */ }

Implementations§

Source§

impl AdminApiClient

Source

pub fn get_admin(&self) -> RequestHandler

Get admin

Source

pub fn update_admin<B: BodyExt>(&self, body: B) -> RequestHandler

Update admin

Source

pub fn delete_service_announcement(&self) -> RequestHandler

Delete navigation property serviceAnnouncement for admin

Source

pub fn get_service_announcement(&self) -> RequestHandler

Get serviceAnnouncement from admin

Source

pub fn update_service_announcement<B: BodyExt>(&self, body: B) -> RequestHandler

Update the navigation property serviceAnnouncement in admin

Source

pub fn create_health_overviews<B: BodyExt>(&self, body: B) -> RequestHandler

Create new navigation property to healthOverviews for admin

Source

pub fn list_health_overviews(&self) -> RequestHandler

List healthOverviews

Source

pub fn get_health_overviews_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_health_overviews( &self, service_health_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property healthOverviews for admin

Source

pub fn get_health_overviews( &self, service_health_id: impl AsRef<str>, ) -> RequestHandler

Get healthOverviews from admin

Source

pub fn update_health_overviews<B: BodyExt>( &self, service_health_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property healthOverviews in admin

Source

pub fn create_health_overview_issues<B: BodyExt>( &self, service_health_id: impl AsRef<str>, body: B, ) -> RequestHandler

Create new navigation property to issues for admin

Source

pub fn list_health_overview_issues( &self, service_health_id: impl AsRef<str>, ) -> RequestHandler

Get issues from admin

Source

pub fn get_health_overview_issues_count( &self, service_health_id: impl AsRef<str>, ) -> RequestHandler

Get the number of the resource

Source

pub fn delete_health_overview_issues( &self, service_health_id: impl AsRef<str>, service_health_issue_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property issues for admin

Source

pub fn get_health_overview_issues( &self, service_health_id: impl AsRef<str>, service_health_issue_id: impl AsRef<str>, ) -> RequestHandler

Get issues from admin

Source

pub fn update_health_overview_issues<B: BodyExt>( &self, service_health_id: impl AsRef<str>, service_health_issue_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property issues in admin

Source

pub fn health_overviews_incident_report( &self, service_health_id: impl AsRef<str>, service_health_issue_id: impl AsRef<str>, ) -> RequestHandler

Invoke function incidentReport

Source

pub fn create_issues<B: BodyExt>(&self, body: B) -> RequestHandler

Create new navigation property to issues for admin

Source

pub fn list_issues(&self) -> RequestHandler

List issues

Source

pub fn get_issues_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_issues( &self, service_health_issue_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property issues for admin

Source

pub fn get_issues( &self, service_health_issue_id: impl AsRef<str>, ) -> RequestHandler

Get issues from admin

Source

pub fn update_issues<B: BodyExt>( &self, service_health_issue_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property issues in admin

Source

pub fn incident_report( &self, service_health_issue_id: impl AsRef<str>, ) -> RequestHandler

Invoke function incidentReport

Source

pub fn create_messages<B: BodyExt>(&self, body: B) -> RequestHandler

Create new navigation property to messages for admin

Source

pub fn list_messages(&self) -> RequestHandler

List serviceAnnouncement messages

Source

pub fn get_messages_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn archive<B: BodyExt>(&self, body: B) -> RequestHandler

Invoke action archive

Source

pub fn favorite<B: BodyExt>(&self, body: B) -> RequestHandler

Invoke action favorite

Source

pub fn mark_read<B: BodyExt>(&self, body: B) -> RequestHandler

Invoke action markRead

Source

pub fn mark_unread<B: BodyExt>(&self, body: B) -> RequestHandler

Invoke action markUnread

Source

pub fn unarchive<B: BodyExt>(&self, body: B) -> RequestHandler

Invoke action unarchive

Source

pub fn unfavorite<B: BodyExt>(&self, body: B) -> RequestHandler

Invoke action unfavorite

Source

pub fn delete_messages( &self, service_update_message_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property messages for admin

Source

pub fn get_messages( &self, service_update_message_id: impl AsRef<str>, ) -> RequestHandler

Get messages from admin

Source

pub fn update_messages<B: BodyExt>( &self, service_update_message_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property messages in admin

Source

pub fn create_attachments<B: BodyExt>( &self, service_update_message_id: impl AsRef<str>, body: B, ) -> RequestHandler

Create new navigation property to attachments for admin

Source

pub fn list_attachments( &self, service_update_message_id: impl AsRef<str>, ) -> RequestHandler

List attachments

Source

pub fn get_attachments_count( &self, service_update_message_id: impl AsRef<str>, ) -> RequestHandler

Get the number of the resource

Source

pub fn delete_attachments( &self, service_update_message_id: impl AsRef<str>, service_announcement_attachment_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property attachments for admin

Source

pub fn get_attachments( &self, service_update_message_id: impl AsRef<str>, service_announcement_attachment_id: impl AsRef<str>, ) -> RequestHandler

Get attachments from admin

Source

pub fn update_attachments<B: BodyExt>( &self, service_update_message_id: impl AsRef<str>, service_announcement_attachment_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property attachments in admin

Source

pub fn get_attachments_content( &self, service_update_message_id: impl AsRef<str>, service_announcement_attachment_id: impl AsRef<str>, ) -> RequestHandler

Get content for the navigation property attachments from admin

Source

pub fn update_attachments_content<B: BodyExt>( &self, service_update_message_id: impl AsRef<str>, service_announcement_attachment_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update content for the navigation property attachments in admin

Source

pub fn get_messages_attachments_archive( &self, service_update_message_id: impl AsRef<str>, ) -> RequestHandler

Get attachmentsArchive for the navigation property messages from admin

Source

pub fn update_messages_attachments_archive<B: BodyExt>( &self, service_update_message_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update attachmentsArchive for the navigation property messages in admin

Trait Implementations§

Source§

impl ApiClientImpl for AdminApiClient

Source§

fn url(&self) -> Url

Source§

fn render_path<S: AsRef<str>>( &self, path: S, path_params_map: &Value, ) -> GraphResult<String>

Source§

fn build_url<S>( &self, path: S, path_params_map: &Value, ) -> Result<Url, GraphFailure>
where S: AsRef<str>,

Source§

impl Debug for AdminApiClient

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl ODataQuery for AdminApiClient

Source§

fn append_query_pair<KV: AsRef<str>>(self, key: KV, value: KV) -> Self

Source§

fn count<S>(self, value: S) -> Self
where S: AsRef<str>,

Retrieves the total count of matching resources. See the docs
Source§

fn select(self, value: &[&str]) -> Self

Filters properties (columns). See the docs
Source§

fn expand(self, value: &[&str]) -> Self

Retrieves related resources. See the docs
Source§

fn filter(self, value: &[&str]) -> Self

Filters results (rows). See the docs
Source§

fn order_by(self, value: &[&str]) -> Self

Orders results. See the docs
Source§

fn search<S>(self, value: S) -> Self
where S: AsRef<str>,

Returns results based on search criteria. See the docs
Source§

fn format<S>(self, value: S) -> Self
where S: AsRef<str>,

Returns the results in the specified media format. See the docs
Source§

fn skip<S>(self, value: S) -> Self
where 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) -> Self
where 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) -> Self
where 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 top<S>(self, value: S) -> Self
where S: AsRef<str>,

Sets the page size of results. See the docs
Source§

impl ResourceIdentifier for AdminApiClient

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more