redfish_codegen/models/update_service/v1_11_3/
http_push_uri_options.rs

1// Generated by redfish-codegen. Do not modify.
2
3use crate::models;
4
5/// The settings for HttpPushUri-provided software updates.
6#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
7#[derive(derivative::Derivative)]
8#[derivative(Default)]
9pub struct HttpPushUriOptions {
10    /// An indication of whether the service should bypass update policies when applying the HttpPushUri-provided image.
11    #[serde(rename = "ForceUpdate")]
12    #[serde(default, skip_serializing_if = "Option::is_none")]
13    pub force_update: Option<bool>,
14    #[serde(rename = "HttpPushUriApplyTime")]
15    #[serde(default, skip_serializing_if = "Option::is_none")]
16    pub http_push_uri_apply_time: Option<models::update_service::v1_11_3::HttpPushUriApplyTime>,
17}
18
19impl crate::Metadata<'static> for HttpPushUriOptions {
20    const JSON_SCHEMA: &'static str = "UpdateService.v1_11_3.json";
21}