Common/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 = "PascalCase")]
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 pub GroupID:String,
19
20 /// The new human-readable label for the group.
21 pub Label:String,
22 // Other properties like `HideWhenEmpty` could be added here.
23}