[−][src]Struct okra::okta::apis::PolicyApiClient
Methods
impl PolicyApiClient
[src]
pub fn new(configuration: Configuration) -> Self
[src]
pub fn list_policies(
&self,
type: String,
status: String,
after: String,
limit: i32,
expand: String
) -> Result<Vec<Policy>, Error>
[src]
&self,
type: String,
status: String,
after: String,
limit: i32,
expand: String
) -> Result<Vec<Policy>, Error>
pub fn create_policy(
&self,
activate: bool,
body: Policy
) -> Result<Policy, Error>
[src]
&self,
activate: bool,
body: Policy
) -> Result<Policy, Error>
pub fn get_policy(
&self,
policy_id: String,
expand: String
) -> Result<Policy, Error>
[src]
&self,
policy_id: String,
expand: String
) -> Result<Policy, Error>
pub fn update_policy(
&self,
policy_id: String,
body: Policy
) -> Result<Policy, Error>
[src]
&self,
policy_id: String,
body: Policy
) -> Result<Policy, Error>
pub fn delete_policy(&self, policy_id: String) -> Result<(), Error>
[src]
pub fn activate_policy(&self, policy_id: String) -> Result<(), Error>
[src]
pub fn deactivate_policy(&self, policy_id: String) -> Result<(), Error>
[src]
pub fn list_policy_rules(
&self,
policy_id: String
) -> Result<Vec<PolicyRule>, Error>
[src]
&self,
policy_id: String
) -> Result<Vec<PolicyRule>, Error>
pub fn add_policy_rule(
&self,
policy_id: String,
activate: bool,
body: PolicyRule
) -> Result<PolicyRule, Error>
[src]
&self,
policy_id: String,
activate: bool,
body: PolicyRule
) -> Result<PolicyRule, Error>
pub fn get_policy_rule(
&self,
policy_id: String,
rule_id: String
) -> Result<PolicyRule, Error>
[src]
&self,
policy_id: String,
rule_id: String
) -> Result<PolicyRule, Error>
pub fn update_policy_rule(
&self,
policy_id: String,
rule_id: String,
body: PolicyRule
) -> Result<PolicyRule, Error>
[src]
&self,
policy_id: String,
rule_id: String,
body: PolicyRule
) -> Result<PolicyRule, Error>
pub fn delete_policy_rule(
&self,
policy_id: String,
rule_id: String
) -> Result<(), Error>
[src]
&self,
policy_id: String,
rule_id: String
) -> Result<(), Error>
pub fn activate_policy_rule(
&self,
policy_id: String,
rule_id: String
) -> Result<(), Error>
[src]
&self,
policy_id: String,
rule_id: String
) -> Result<(), Error>
pub fn deactivate_policy_rule(
&self,
policy_id: String,
rule_id: String
) -> Result<(), Error>
[src]
&self,
policy_id: String,
rule_id: String
) -> Result<(), Error>
Auto Trait Implementations
impl Send for PolicyApiClient
impl Sync for PolicyApiClient
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,