Struct azure_devops_rust_api::release::models::Release
source · pub struct Release {Show 27 fields
pub links: Option<Value>,
pub artifacts: Vec<Artifact>,
pub comment: Option<String>,
pub created_by: Option<IdentityRef>,
pub created_for: Option<IdentityRef>,
pub created_on: Option<OffsetDateTime>,
pub definition_snapshot_revision: Option<i32>,
pub description: Option<String>,
pub environments: Vec<ReleaseEnvironment>,
pub id: Option<i32>,
pub keep_forever: Option<bool>,
pub logs_container_url: Option<String>,
pub modified_by: Option<IdentityRef>,
pub modified_on: Option<OffsetDateTime>,
pub name: Option<String>,
pub pool_name: Option<String>,
pub project_reference: Option<ProjectReference>,
pub properties: Option<PropertiesCollection>,
pub reason: Option<Reason>,
pub release_definition: Option<ReleaseDefinitionShallowReference>,
pub release_definition_revision: Option<i32>,
pub release_name_format: Option<String>,
pub status: Option<Status>,
pub tags: Vec<String>,
pub triggering_artifact_alias: Option<String>,
pub variable_groups: Vec<VariableGroup>,
pub variables: Option<Value>,
}
Expand description
Fields§
§links: Option<Value>
Links
artifacts: Vec<Artifact>
Gets or sets the list of artifacts.
comment: Option<String>
Gets or sets comment.
created_by: Option<IdentityRef>
§created_for: Option<IdentityRef>
§created_on: Option<OffsetDateTime>
Gets date on which it got created.
definition_snapshot_revision: Option<i32>
Gets revision number of definition snapshot.
description: Option<String>
Gets or sets description of release.
environments: Vec<ReleaseEnvironment>
Gets list of environments.
id: Option<i32>
Gets the unique identifier of this field.
keep_forever: Option<bool>
Whether to exclude the release from retention policies.
logs_container_url: Option<String>
Gets logs container url.
modified_by: Option<IdentityRef>
§modified_on: Option<OffsetDateTime>
Gets date on which it got modified.
name: Option<String>
Gets name.
pool_name: Option<String>
Gets pool name.
project_reference: Option<ProjectReference>
§properties: Option<PropertiesCollection>
The class represents a property bag as a collection of key-value pairs. Values of all primitive types (any type with a TypeCode != TypeCode.Object
) except for DBNull
are accepted. Values of type Byte[], Int32, Double, DateType and String preserve their type, other primitives are retuned as a String. Byte[] expected as base64 encoded string.
reason: Option<Reason>
Gets reason of release.
release_definition: Option<ReleaseDefinitionShallowReference>
§release_definition_revision: Option<i32>
Gets or sets the release definition revision.
release_name_format: Option<String>
Gets release name format.
status: Option<Status>
Gets status.
Gets or sets list of tags.
triggering_artifact_alias: Option<String>
§variable_groups: Vec<VariableGroup>
Gets the list of variable groups.
variables: Option<Value>
Gets or sets the dictionary of variables.