Struct ScheduleApiClient

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

Implementations§

Source§

impl ScheduleApiClient

Source

pub fn delete_schedule(&self) -> RequestHandler

Delete navigation property schedule for teams

Source

pub fn get_schedule(&self) -> RequestHandler

Get schedule

Source

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

Update the navigation property schedule in teams

Source

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

Create new navigation property to offerShiftRequests for teams

Source

pub fn list_offer_shift_requests(&self) -> RequestHandler

List offerShiftRequest

Source

pub fn get_offer_shift_requests_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_offer_shift_requests( &self, offer_shift_request_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property offerShiftRequests for teams

Source

pub fn get_offer_shift_requests( &self, offer_shift_request_id: impl AsRef<str>, ) -> RequestHandler

Get offerShiftRequests from teams

Source

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

Update the navigation property offerShiftRequests in teams

Source

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

Create openShiftChangeRequest

Source

pub fn list_open_shift_change_requests(&self) -> RequestHandler

List openShiftChangeRequests

Source

pub fn get_open_shift_change_requests_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_open_shift_change_requests( &self, open_shift_change_request_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property openShiftChangeRequests for teams

Source

pub fn get_open_shift_change_requests( &self, open_shift_change_request_id: impl AsRef<str>, ) -> RequestHandler

Get openShiftChangeRequests from teams

Source

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

Update the navigation property openShiftChangeRequests in teams

Source

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

Create new navigation property to openShifts for teams

Source

pub fn list_open_shifts(&self) -> RequestHandler

List openShifts

Source

pub fn open_shifts_bdbd(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_open_shifts( &self, open_shift_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property openShifts for teams

Source

pub fn get_open_shifts(&self, open_shift_id: impl AsRef<str>) -> RequestHandler

Get openShifts from teams

Source

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

Update the navigation property openShifts in teams

Source

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

Create schedulingGroup

Source

pub fn list_scheduling_groups(&self) -> RequestHandler

List scheduleGroups

Source

pub fn get_scheduling_groups_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_scheduling_groups( &self, scheduling_group_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property schedulingGroups for teams

Source

pub fn get_scheduling_groups( &self, scheduling_group_id: impl AsRef<str>, ) -> RequestHandler

Get schedulingGroups from teams

Source

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

Update the navigation property schedulingGroups in teams

Source

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

Invoke action share

Source

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

Create shift

Source

pub fn list_shifts(&self) -> RequestHandler

List shifts

Source

pub fn get_shifts_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_shifts(&self, shift_id: impl AsRef<str>) -> RequestHandler

Delete navigation property shifts for teams

Source

pub fn get_shifts(&self, shift_id: impl AsRef<str>) -> RequestHandler

Get shifts from teams

Source

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

Update the navigation property shifts in teams

Source

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

Create swapShiftsChangeRequest

Source

pub fn list_swap_shifts_change_requests(&self) -> RequestHandler

List swapShiftsChangeRequest

Source

pub fn get_swap_shifts_change_requests_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_swap_shifts_change_requests( &self, swap_shifts_change_request_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property swapShiftsChangeRequests for teams

Source

pub fn get_swap_shifts_change_requests( &self, swap_shifts_change_request_id: impl AsRef<str>, ) -> RequestHandler

Get swapShiftsChangeRequests from teams

Source

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

Update the navigation property swapShiftsChangeRequests in teams

Source

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

Create timeOffReason

Source

pub fn list_time_off_reasons(&self) -> RequestHandler

List timeOffReasons

Source

pub fn get_time_off_reasons_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_time_off_reasons( &self, time_off_reason_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property timeOffReasons for teams

Source

pub fn get_time_off_reasons( &self, time_off_reason_id: impl AsRef<str>, ) -> RequestHandler

Get timeOffReasons from teams

Source

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

Update the navigation property timeOffReasons in teams

Source

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

Create new navigation property to timeOffRequests for teams

Source

pub fn list_time_off_requests(&self) -> RequestHandler

List timeOffRequest

Source

pub fn get_time_off_requests_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_time_off_requests( &self, time_off_request_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property timeOffRequests for teams

Source

pub fn get_time_off_requests( &self, time_off_request_id: impl AsRef<str>, ) -> RequestHandler

Get timeOffRequests from teams

Source

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

Update the navigation property timeOffRequests in teams

Source

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

Create timeOff

Source

pub fn list_times_off(&self) -> RequestHandler

List timesOff

Source

pub fn get_times_off_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_times_off(&self, time_off_id: impl AsRef<str>) -> RequestHandler

Delete navigation property timesOff for teams

Source

pub fn get_times_off(&self, time_off_id: impl AsRef<str>) -> RequestHandler

Get timesOff from teams

Source

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

Update the navigation property timesOff in teams

Trait Implementations§

Source§

impl ApiClientImpl for ScheduleApiClient

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 ScheduleApiClient

Source§

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

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

impl ODataQuery for ScheduleApiClient

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 ScheduleApiClient

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