[][src]Struct stcloud::models::AlertRule

pub struct AlertRule { /* fields omitted */ }

Implementations

impl AlertRule[src]

pub fn new() -> AlertRule[src]

pub fn set_account_email(&mut self, account_email: String)[src]

pub fn with_account_email(self, account_email: String) -> AlertRule[src]

pub fn account_email(&self) -> Option<&String>[src]

pub fn reset_account_email(&mut self)[src]

pub fn set_allowed_app_types(&mut self, allowed_app_types: Vec<i64>)[src]

pub fn with_allowed_app_types(self, allowed_app_types: Vec<i64>) -> AlertRule[src]

pub fn allowed_app_types(&self) -> Option<&Vec<i64>>[src]

pub fn reset_allowed_app_types(&mut self)[src]

pub fn set_analyzing_time(&mut self, analyzing_time: String)[src]

pub fn with_analyzing_time(self, analyzing_time: String) -> AlertRule[src]

pub fn analyzing_time(&self) -> Option<&String>[src]

pub fn reset_analyzing_time(&mut self)[src]

pub fn set_app_display_state(&mut self, app_display_state: String)[src]

pub fn with_app_display_state(self, app_display_state: String) -> AlertRule[src]

pub fn app_display_state(&self) -> Option<&String>[src]

pub fn reset_app_display_state(&mut self)[src]

pub fn set_app_id(&mut self, app_id: i64)[src]

pub fn with_app_id(self, app_id: i64) -> AlertRule[src]

pub fn app_id(&self) -> Option<&i64>[src]

pub fn reset_app_id(&mut self)[src]

pub fn set_app_name(&mut self, app_name: String)[src]

pub fn with_app_name(self, app_name: String) -> AlertRule[src]

pub fn app_name(&self) -> Option<&String>[src]

pub fn reset_app_name(&mut self)[src]

pub fn set_app_state(&mut self, app_state: String)[src]

pub fn with_app_state(self, app_state: String) -> AlertRule[src]

pub fn app_state(&self) -> Option<&String>[src]

pub fn reset_app_state(&mut self)[src]

pub fn set_app_token(&mut self, app_token: String)[src]

pub fn with_app_token(self, app_token: String) -> AlertRule[src]

pub fn app_token(&self) -> Option<&String>[src]

pub fn reset_app_token(&mut self)[src]

pub fn set_app_type(&mut self, app_type: String)[src]

pub fn with_app_type(self, app_type: String) -> AlertRule[src]

pub fn app_type(&self) -> Option<&String>[src]

pub fn reset_app_type(&mut self)[src]

pub fn set_back_to_normal_needed(&mut self, back_to_normal_needed: bool)[src]

pub fn with_back_to_normal_needed(
    self,
    back_to_normal_needed: bool
) -> AlertRule
[src]

pub fn back_to_normal_needed(&self) -> Option<&bool>[src]

pub fn reset_back_to_normal_needed(&mut self)[src]

pub fn set_chart_key(&mut self, chart_key: String)[src]

pub fn with_chart_key(self, chart_key: String) -> AlertRule[src]

pub fn chart_key(&self) -> Option<&String>[src]

pub fn reset_chart_key(&mut self)[src]

pub fn set_color(&mut self, color: String)[src]

pub fn with_color(self, color: String) -> AlertRule[src]

pub fn color(&self) -> Option<&String>[src]

pub fn reset_color(&mut self)[src]

pub fn set_creator_email(&mut self, creator_email: String)[src]

pub fn with_creator_email(self, creator_email: String) -> AlertRule[src]

pub fn creator_email(&self) -> Option<&String>[src]

pub fn reset_creator_email(&mut self)[src]

pub fn set_default_agg_type(&mut self, default_agg_type: String)[src]

pub fn with_default_agg_type(self, default_agg_type: String) -> AlertRule[src]

pub fn default_agg_type(&self) -> Option<&String>[src]

pub fn reset_default_agg_type(&mut self)[src]

pub fn set_description(&mut self, description: String)[src]

pub fn with_description(self, description: String) -> AlertRule[src]

pub fn description(&self) -> Option<&String>[src]

pub fn reset_description(&mut self)[src]

pub fn set_disallowed_app_types(&mut self, disallowed_app_types: Vec<i64>)[src]

pub fn with_disallowed_app_types(
    self,
    disallowed_app_types: Vec<i64>
) -> AlertRule
[src]

pub fn disallowed_app_types(&self) -> Option<&Vec<i64>>[src]

pub fn reset_disallowed_app_types(&mut self)[src]

pub fn set_enabled(&mut self, enabled: bool)[src]

pub fn with_enabled(self, enabled: bool) -> AlertRule[src]

pub fn enabled(&self) -> Option<&bool>[src]

pub fn reset_enabled(&mut self)[src]

pub fn set_estimate_operation(&mut self, estimate_operation: String)[src]

pub fn with_estimate_operation(self, estimate_operation: String) -> AlertRule[src]

pub fn estimate_operation(&self) -> Option<&String>[src]

pub fn reset_estimate_operation(&mut self)[src]

pub fn set_estimate_value(&mut self, estimate_value: f64)[src]

pub fn with_estimate_value(self, estimate_value: f64) -> AlertRule[src]

pub fn estimate_value(&self) -> Option<&f64>[src]

pub fn reset_estimate_value(&mut self)[src]

pub fn set_filter_values(&mut self, filter_values: String)[src]

pub fn with_filter_values(self, filter_values: String) -> AlertRule[src]

pub fn filter_values(&self) -> Option<&String>[src]

pub fn reset_filter_values(&mut self)[src]

pub fn set_filter_values_obj(&mut self, filter_values_obj: Vec<FilterValue>)[src]

pub fn with_filter_values_obj(
    self,
    filter_values_obj: Vec<FilterValue>
) -> AlertRule
[src]

pub fn filter_values_obj(&self) -> Option<&Vec<FilterValue>>[src]

pub fn reset_filter_values_obj(&mut self)[src]

pub fn set_ignore_regular_events_enabled(
    &mut self,
    ignore_regular_events_enabled: bool
)
[src]

pub fn with_ignore_regular_events_enabled(
    self,
    ignore_regular_events_enabled: bool
) -> AlertRule
[src]

pub fn ignore_regular_events_enabled(&self) -> Option<&bool>[src]

pub fn reset_ignore_regular_events_enabled(&mut self)[src]

pub fn set_integrations(&mut self, integrations: String)[src]

pub fn with_integrations(self, integrations: String) -> AlertRule[src]

pub fn integrations(&self) -> Option<&String>[src]

pub fn reset_integrations(&mut self)[src]

pub fn set_last_data_received_date(&mut self, last_data_received_date: i64)[src]

pub fn with_last_data_received_date(
    self,
    last_data_received_date: i64
) -> AlertRule
[src]

pub fn last_data_received_date(&self) -> Option<&i64>[src]

pub fn reset_last_data_received_date(&mut self)[src]

pub fn set_last_sent(&mut self, last_sent: i64)[src]

pub fn with_last_sent(self, last_sent: i64) -> AlertRule[src]

pub fn last_sent(&self) -> Option<&i64>[src]

pub fn reset_last_sent(&mut self)[src]

pub fn set_last_triggered(&mut self, last_triggered: i64)[src]

pub fn with_last_triggered(self, last_triggered: i64) -> AlertRule[src]

pub fn last_triggered(&self) -> Option<&i64>[src]

pub fn reset_last_triggered(&mut self)[src]

pub fn set_metadata(&mut self, metadata: Value)[src]

pub fn with_metadata(self, metadata: Value) -> AlertRule[src]

pub fn metadata(&self) -> Option<&Value>[src]

pub fn reset_metadata(&mut self)[src]

pub fn set_metric_key(&mut self, metric_key: String)[src]

pub fn with_metric_key(self, metric_key: String) -> AlertRule[src]

pub fn metric_key(&self) -> Option<&String>[src]

pub fn reset_metric_key(&mut self)[src]

pub fn set_metric_label(&mut self, metric_label: String)[src]

pub fn with_metric_label(self, metric_label: String) -> AlertRule[src]

pub fn metric_label(&self) -> Option<&String>[src]

pub fn reset_metric_label(&mut self)[src]

pub fn set_min_delay_between_notifications_in_minutes(
    &mut self,
    min_delay_between_notifications_in_minutes: String
)
[src]

pub fn with_min_delay_between_notifications_in_minutes(
    self,
    min_delay_between_notifications_in_minutes: String
) -> AlertRule
[src]

pub fn min_delay_between_notifications_in_minutes(&self) -> Option<&String>[src]

pub fn reset_min_delay_between_notifications_in_minutes(&mut self)[src]

pub fn set_name(&mut self, name: String)[src]

pub fn with_name(self, name: String) -> AlertRule[src]

pub fn name(&self) -> Option<&String>[src]

pub fn reset_name(&mut self)[src]

pub fn set_notification_emails(&mut self, notification_emails: Vec<String>)[src]

pub fn with_notification_emails(
    self,
    notification_emails: Vec<String>
) -> AlertRule
[src]

pub fn notification_emails(&self) -> Option<&Vec<String>>[src]

pub fn reset_notification_emails(&mut self)[src]

pub fn set_notification_integrations(
    &mut self,
    notification_integrations: Vec<NotificationIntegration>
)
[src]

pub fn with_notification_integrations(
    self,
    notification_integrations: Vec<NotificationIntegration>
) -> AlertRule
[src]

pub fn notification_integrations(&self) -> Option<&Vec<NotificationIntegration>>[src]

pub fn reset_notification_integrations(&mut self)[src]

pub fn set_notifications_enabled(&mut self, notifications_enabled: bool)[src]

pub fn with_notifications_enabled(
    self,
    notifications_enabled: bool
) -> AlertRule
[src]

pub fn notifications_enabled(&self) -> Option<&bool>[src]

pub fn reset_notifications_enabled(&mut self)[src]

pub fn set_query(&mut self, query: String)[src]

pub fn with_query(self, query: String) -> AlertRule[src]

pub fn query(&self) -> Option<&String>[src]

pub fn reset_query(&mut self)[src]

pub fn set_report_name(&mut self, report_name: String)[src]

pub fn with_report_name(self, report_name: String) -> AlertRule[src]

pub fn report_name(&self) -> Option<&String>[src]

pub fn reset_report_name(&mut self)[src]

pub fn set_rule_key(&mut self, rule_key: i64)[src]

pub fn with_rule_key(self, rule_key: i64) -> AlertRule[src]

pub fn rule_key(&self) -> Option<&i64>[src]

pub fn reset_rule_key(&mut self)[src]

pub fn set_rule_type(&mut self, rule_type: String)[src]

pub fn with_rule_type(self, rule_type: String) -> AlertRule[src]

pub fn rule_type(&self) -> Option<&String>[src]

pub fn reset_rule_type(&mut self)[src]

pub fn set_runbook(&mut self, runbook: String)[src]

pub fn with_runbook(self, runbook: String) -> AlertRule[src]

pub fn runbook(&self) -> Option<&String>[src]

pub fn reset_runbook(&mut self)[src]

pub fn set_saved_query_id(&mut self, saved_query_id: i64)[src]

pub fn with_saved_query_id(self, saved_query_id: i64) -> AlertRule[src]

pub fn saved_query_id(&self) -> Option<&i64>[src]

pub fn reset_saved_query_id(&mut self)[src]

pub fn set_schedule(&mut self, schedule: Vec<AlertRuleScheduleWeekdayDto>)[src]

pub fn with_schedule(
    self,
    schedule: Vec<AlertRuleScheduleWeekdayDto>
) -> AlertRule
[src]

pub fn schedule(&self) -> Option<&Vec<AlertRuleScheduleWeekdayDto>>[src]

pub fn reset_schedule(&mut self)[src]

pub fn set_sematext_service(&mut self, sematext_service: String)[src]

pub fn with_sematext_service(self, sematext_service: String) -> AlertRule[src]

pub fn sematext_service(&self) -> Option<&String>[src]

pub fn reset_sematext_service(&mut self)[src]

pub fn set_send_to_email(&mut self, send_to_email: String)[src]

pub fn with_send_to_email(self, send_to_email: String) -> AlertRule[src]

pub fn send_to_email(&self) -> Option<&String>[src]

pub fn reset_send_to_email(&mut self)[src]

pub fn set_timezone(&mut self, timezone: String)[src]

pub fn with_timezone(self, timezone: String) -> AlertRule[src]

pub fn timezone(&self) -> Option<&String>[src]

pub fn reset_timezone(&mut self)[src]

pub fn set_use_only_alert_rule_integrations(
    &mut self,
    use_only_alert_rule_integrations: bool
)
[src]

pub fn with_use_only_alert_rule_integrations(
    self,
    use_only_alert_rule_integrations: bool
) -> AlertRule
[src]

pub fn use_only_alert_rule_integrations(&self) -> Option<&bool>[src]

pub fn reset_use_only_alert_rule_integrations(&mut self)[src]

pub fn set_user_permissions(&mut self, user_permissions: UserPermissions)[src]

pub fn with_user_permissions(
    self,
    user_permissions: UserPermissions
) -> AlertRule
[src]

pub fn user_permissions(&self) -> Option<&UserPermissions>[src]

pub fn reset_user_permissions(&mut self)[src]

pub fn set_value_column_name(&mut self, value_column_name: String)[src]

pub fn with_value_column_name(self, value_column_name: String) -> AlertRule[src]

pub fn value_column_name(&self) -> Option<&String>[src]

pub fn reset_value_column_name(&mut self)[src]

pub fn set_value_name(&mut self, value_name: String)[src]

pub fn with_value_name(self, value_name: String) -> AlertRule[src]

pub fn value_name(&self) -> Option<&String>[src]

pub fn reset_value_name(&mut self)[src]

Trait Implementations

impl Debug for AlertRule[src]

impl<'de> Deserialize<'de> for AlertRule[src]

impl Serialize for AlertRule[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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.