use crate::api_default_imports::*;
resource_api_client!(
TransitiveMemberOfApiClient,
TransitiveMemberOfIdApiClient,
ResourceIdentity::TransitiveMemberOf
);
impl TransitiveMemberOfApiClient {
get!(
doc: "Get transitiveMemberOf from users",
name: list_transitive_member_of,
path: "/transitiveMemberOf"
);
get!(
doc: "Get the number of the resource",
name: get_transitive_member_of_count,
path: "/transitiveMemberOf/$count"
);
get!(
doc: "Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection",
name: graph,
path: "/transitiveMemberOf/graph.group"
);
get!(
doc: "Get the number of the resource",
name: get_group_count,
path: "/transitiveMemberOf/graph.group/$count"
);
}
impl TransitiveMemberOfIdApiClient {
get!(
doc: "Get transitiveMemberOf from users",
name: get_transitive_member_of,
path: "/transitiveMemberOf/{{RID}}"
);
get!(
doc: "Get the item of type microsoft.graph.directoryObject as microsoft.graph.group",
name: get_directory_object_item_as_group_type,
path: "/transitiveMemberOf/{{RID}}/graph.group"
);
}