openapi-azure-storage-blob 0.1.1

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Azure Storage Blob service
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2026-02-06
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// BlockList : Contains the committed and uncommitted blocks in a block blob.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct BlockList {
    /// The list of committed blocks.
    #[serde(rename = "CommittedBlocks", skip_serializing_if = "Option::is_none")]
    pub committed_blocks: Option<Vec<models::Block>>,
    /// The list of uncommitted blocks.
    #[serde(rename = "UncommittedBlocks", skip_serializing_if = "Option::is_none")]
    pub uncommitted_blocks: Option<Vec<models::Block>>,
}

impl BlockList {
    /// Contains the committed and uncommitted blocks in a block blob.
    pub fn new() -> BlockList {
        BlockList {
            committed_blocks: None,
            uncommitted_blocks: None,
        }
    }
}