CommonLibrary/SourceControlManagement/DTO/SourceControlGroupUpdateDTO.rs
1//! # SourceControlGroupUpdateDTO
2//!
3//! Defines the DTO for updating the properties of an SourceControlManagement
4//! resource group.
5
6use serde::{Deserialize, Serialize};
7
8/// A serializable struct used to update the properties of a source control
9/// group, such as its label or visibility, without affecting its list of
10/// resources.
11#[derive(Serialize, Deserialize, Debug, Clone)]
12#[serde(rename_all = "camelCase")]
13pub struct SourceControlGroupUpdateDTO {
14 /// The handle of the provider that owns the group.
15 pub ProviderHandle:u32,
16
17 /// The unique identifier for the group within its provider.
18 #[serde(rename = "groupId")]
19 pub GroupID:String,
20
21 /// The new human-readable label for the group.
22 pub Label:String,
23 // Other properties like `HideWhenEmpty` could be added here.
24}