[][src]Struct okra::okta::apis::PolicyApiClient

pub struct PolicyApiClient { /* fields omitted */ }

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]

pub fn create_policy(
    &self,
    activate: bool,
    body: Policy
) -> Result<Policy, Error>
[src]

pub fn get_policy(
    &self,
    policy_id: String,
    expand: String
) -> Result<Policy, Error>
[src]

pub fn update_policy(
    &self,
    policy_id: String,
    body: Policy
) -> Result<Policy, Error>
[src]

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]

pub fn add_policy_rule(
    &self,
    policy_id: String,
    activate: bool,
    body: PolicyRule
) -> Result<PolicyRule, Error>
[src]

pub fn get_policy_rule(
    &self,
    policy_id: String,
    rule_id: String
) -> Result<PolicyRule, Error>
[src]

pub fn update_policy_rule(
    &self,
    policy_id: String,
    rule_id: String,
    body: PolicyRule
) -> Result<PolicyRule, Error>
[src]

pub fn delete_policy_rule(
    &self,
    policy_id: String,
    rule_id: String
) -> Result<(), Error>
[src]

pub fn activate_policy_rule(
    &self,
    policy_id: String,
    rule_id: String
) -> Result<(), Error>
[src]

pub fn deactivate_policy_rule(
    &self,
    policy_id: String,
    rule_id: String
) -> Result<(), Error>
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

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

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