pub struct OrgsUpdateRequest {Show 29 fields
pub billing_email: Option<String>,
pub company: Option<String>,
pub email: Option<String>,
pub twitter_username: Option<String>,
pub location: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub has_organization_projects: Option<bool>,
pub has_repository_projects: Option<bool>,
pub default_repository_permission: Option<DefaultRepositoryPermission>,
pub members_can_create_repositories: Option<bool>,
pub members_can_create_internal_repositories: Option<bool>,
pub members_can_create_private_repositories: Option<bool>,
pub members_can_create_public_repositories: Option<bool>,
pub members_allowed_repository_creation_type: Option<MembersAllowedRepositoryCreationType>,
pub members_can_create_pages: Option<bool>,
pub members_can_create_public_pages: Option<bool>,
pub members_can_create_private_pages: Option<bool>,
pub members_can_fork_private_repositories: Option<bool>,
pub web_commit_signoff_required: Option<bool>,
pub blog: Option<String>,
pub advanced_security_enabled_for_new_repositories: Option<bool>,
pub dependabot_alerts_enabled_for_new_repositories: Option<bool>,
pub dependabot_security_updates_enabled_for_new_repositories: Option<bool>,
pub dependency_graph_enabled_for_new_repositories: Option<bool>,
pub secret_scanning_enabled_for_new_repositories: Option<bool>,
pub secret_scanning_push_protection_enabled_for_new_repositories: Option<bool>,
pub secret_scanning_push_protection_custom_link_enabled: Option<bool>,
pub secret_scanning_push_protection_custom_link: Option<String>,
}
Fields§
§billing_email: Option<String>
Billing email address. This address is not publicized.
company: Option<String>
The company name.
email: Option<String>
The publicly visible email address.
twitter_username: Option<String>
The Twitter username of the company.
location: Option<String>
The location.
name: Option<String>
The shorthand name of the company.
description: Option<String>
The description of the company. The maximum size is 160 characters.
has_organization_projects: Option<bool>
Whether an organization can use organization projects.
has_repository_projects: Option<bool>
Whether repositories that belong to the organization can use repository projects.
default_repository_permission: Option<DefaultRepositoryPermission>
Default permission level members have for organization repositories.
members_can_create_repositories: Option<bool>
Whether of non-admin organization members can create repositories. Note: A parameter can override this parameter. See members_allowed_repository_creation_type
in this table for details.
members_can_create_internal_repositories: Option<bool>
Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see "Restricting repository creation in your organization" in the GitHub Help documentation.
members_can_create_private_repositories: Option<bool>
Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see "Restricting repository creation in your organization" in the GitHub Help documentation.
members_can_create_public_repositories: Option<bool>
Whether organization members can create public repositories, which are visible to anyone. For more information, see "Restricting repository creation in your organization" in the GitHub Help documentation.
members_allowed_repository_creation_type: Option<MembersAllowedRepositoryCreationType>
Specifies which types of repositories non-admin organization members can create. private
is only available to repositories that are part of an organization on GitHub Enterprise Cloud. Note: This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in members_can_create_repositories
. See the parameter deprecation notice in the operation description for details.
members_can_create_pages: Option<bool>
Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.
members_can_create_public_pages: Option<bool>
Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted.
members_can_create_private_pages: Option<bool>
Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted.
members_can_fork_private_repositories: Option<bool>
Whether organization members can fork private organization repositories.
web_commit_signoff_required: Option<bool>
Whether contributors to organization repositories are required to sign off on commits they make through GitHub’s web interface.
blog: Option<String>
§advanced_security_enabled_for_new_repositories: Option<bool>
Whether GitHub Advanced Security is automatically enabled for new repositories. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "Managing security managers in your organization." You can check which security and analysis features are currently enabled by using a GET /orgs/{org}
request.
dependabot_alerts_enabled_for_new_repositories: Option<bool>
Whether Dependabot alerts is automatically enabled for new repositories. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "Managing security managers in your organization." You can check which security and analysis features are currently enabled by using a GET /orgs/{org}
request.
dependabot_security_updates_enabled_for_new_repositories: Option<bool>
Whether Dependabot security updates is automatically enabled for new repositories. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "Managing security managers in your organization." You can check which security and analysis features are currently enabled by using a GET /orgs/{org}
request.
dependency_graph_enabled_for_new_repositories: Option<bool>
Whether dependency graph is automatically enabled for new repositories. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "Managing security managers in your organization." You can check which security and analysis features are currently enabled by using a GET /orgs/{org}
request.
secret_scanning_enabled_for_new_repositories: Option<bool>
Whether secret scanning is automatically enabled for new repositories. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "Managing security managers in your organization." You can check which security and analysis features are currently enabled by using a GET /orgs/{org}
request.
secret_scanning_push_protection_enabled_for_new_repositories: Option<bool>
Whether secret scanning push protection is automatically enabled for new repositories. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "Managing security managers in your organization." You can check which security and analysis features are currently enabled by using a GET /orgs/{org}
request.
secret_scanning_push_protection_custom_link_enabled: Option<bool>
Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection.
secret_scanning_push_protection_custom_link: Option<String>
If secret_scanning_push_protection_custom_link_enabled
is true, the URL that will be displayed to contributors who are blocked from pushing a secret.
Implementations§
Source§impl OrgsUpdateRequest
impl OrgsUpdateRequest
pub fn new() -> OrgsUpdateRequest
Trait Implementations§
Source§impl Clone for OrgsUpdateRequest
impl Clone for OrgsUpdateRequest
Source§fn clone(&self) -> OrgsUpdateRequest
fn clone(&self) -> OrgsUpdateRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more