pub struct Organization {Show 69 fields
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub name: Option<String>,
pub url_key: Option<String>,
pub logo_url: Option<String>,
pub period_upload_volume: Option<f64>,
pub facets: Option<Box<Vec<Facet>>>,
pub git_branch_format: Option<String>,
pub git_linkback_messages_enabled: Option<bool>,
pub git_public_linkback_messages_enabled: Option<bool>,
pub git_linkback_descriptions_enabled: Option<bool>,
pub roadmap_enabled: Option<bool>,
pub project_update_reminder_frequency_in_weeks: Option<f64>,
pub project_update_reminders_day: Option<Day>,
pub project_update_reminders_hour: Option<f64>,
pub initiative_update_reminder_frequency_in_weeks: Option<f64>,
pub initiative_update_reminders_day: Option<Day>,
pub initiative_update_reminders_hour: Option<f64>,
pub fiscal_year_start_month: Option<f64>,
pub working_days: Option<Vec<f64>>,
pub saml_enabled: Option<bool>,
pub saml_settings: Option<Value>,
pub scim_enabled: Option<bool>,
pub scim_settings: Option<Value>,
pub security_settings: Option<Value>,
pub allowed_auth_services: Option<Vec<String>>,
pub allowed_file_upload_content_types: Option<Vec<String>>,
pub ip_restrictions: Option<Box<Vec<OrganizationIpRestriction>>>,
pub deletion_requested_at: Option<DateTime<Utc>>,
pub trial_ends_at: Option<DateTime<Utc>>,
pub trial_starts_at: Option<DateTime<Utc>>,
pub previous_url_keys: Option<Vec<String>>,
pub hipaa_compliance_enabled: Option<bool>,
pub theme_settings: Option<Value>,
pub release_channel: Option<ReleaseChannel>,
pub customers_configuration: Option<Value>,
pub code_intelligence_enabled: Option<bool>,
pub code_intelligence_repository: Option<String>,
pub default_feed_summary_schedule: Option<FeedSummarySchedule>,
pub feed_enabled: Option<bool>,
pub hide_non_primary_organizations: Option<bool>,
pub ai_addon_enabled: Option<bool>,
pub generated_updates_enabled: Option<bool>,
pub ai_thread_summaries_enabled: Option<bool>,
pub ai_discussion_summaries_enabled: Option<bool>,
pub ai_provider_configuration: Option<Value>,
pub linear_agent_enabled: Option<bool>,
pub sla_day_count: Option<SLADayCountType>,
pub project_updates_reminder_frequency: Option<ProjectUpdateReminderFrequency>,
pub allowed_ai_providers: Option<Vec<String>>,
pub users: Option<Box<UserConnection>>,
pub teams: Option<Box<TeamConnection>>,
pub project_statuses: Option<Box<Vec<ProjectStatus>>>,
pub integrations: Option<Box<IntegrationConnection>>,
pub slack_project_channel_integration: Option<Box<Integration>>,
pub slack_project_channel_prefix: Option<String>,
pub subscription: Option<Box<PaidSubscription>>,
pub user_count: Option<i64>,
pub created_issue_count: Option<i64>,
pub templates: Option<Box<TemplateConnection>>,
pub labels: Option<Box<IssueLabelConnection>>,
pub project_labels: Option<Box<ProjectLabelConnection>>,
pub customer_count: Option<i64>,
pub customers_enabled: Option<bool>,
pub allow_members_to_invite: Option<bool>,
pub restrict_team_creation_to_admins: Option<bool>,
pub restrict_label_management_to_admins: Option<bool>,
}Expand description
An organization. Organizations are root-level objects that contain user accounts and teams.
Fields§
§id: Option<String>The unique identifier of the entity.
created_at: Option<DateTime<Utc>>The time at which the entity was created.
updated_at: Option<DateTime<Utc>>The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn’t been updated after creation.
archived_at: Option<DateTime<Utc>>The time at which the entity was archived. Null if the entity has not been archived.
name: Option<String>The organization’s name.
url_key: Option<String>The organization’s unique URL key.
logo_url: Option<String>The organization’s logo URL.
period_upload_volume: Option<f64>Rolling 30-day total upload volume for the organization, in megabytes.
facets: Option<Box<Vec<Facet>>>Internal Facets associated with the organization.
git_branch_format: Option<String>How git branches are formatted. If null, default formatting will be used.
git_linkback_messages_enabled: Option<bool>Whether the Git integration linkback messages should be sent to private repositories.
git_public_linkback_messages_enabled: Option<bool>Whether the Git integration linkback messages should be sent to public repositories.
git_linkback_descriptions_enabled: Option<bool>Whether issue descriptions should be included in Git integration linkback messages.
roadmap_enabled: Option<bool>Whether the organization is using a roadmap.
project_update_reminder_frequency_in_weeks: Option<f64>The n-weekly frequency at which to prompt for project updates. When not set, reminders are off.
project_update_reminders_day: Option<Day>The day at which to prompt for project updates.
project_update_reminders_hour: Option<f64>The hour at which to prompt for project updates.
initiative_update_reminder_frequency_in_weeks: Option<f64>The n-weekly frequency at which to prompt for initiative updates. When not set, reminders are off.
initiative_update_reminders_day: Option<Day>The day at which to prompt for initiative updates.
initiative_update_reminders_hour: Option<f64>The hour at which to prompt for initiative updates.
fiscal_year_start_month: Option<f64>The month at which the fiscal year starts. Defaults to January (0).
working_days: Option<Vec<f64>>Internal The list of working days. Sunday is 0, Monday is 1, etc.
saml_enabled: Option<bool>Whether SAML authentication is enabled for organization.
saml_settings: Option<Value>INTERNAL SAML settings.
scim_enabled: Option<bool>Whether SCIM provisioning is enabled for organization.
scim_settings: Option<Value>INTERNAL SCIM settings.
security_settings: Option<Value>Security settings for the organization.
allowed_auth_services: Option<Vec<String>>Allowed authentication providers, empty array means all are allowed.
allowed_file_upload_content_types: Option<Vec<String>>Allowed file upload content types
ip_restrictions: Option<Box<Vec<OrganizationIpRestriction>>>IP restriction configurations.
deletion_requested_at: Option<DateTime<Utc>>The time at which deletion of the organization was requested.
trial_ends_at: Option<DateTime<Utc>>The time at which the trial will end.
trial_starts_at: Option<DateTime<Utc>>The time at which the trial started.
previous_url_keys: Option<Vec<String>>Previously used URL keys for the organization (last 3 are kept and redirected).
hipaa_compliance_enabled: Option<bool>Whether HIPAA compliance is enabled for organization.
theme_settings: Option<Value>ALPHA Theme settings for the organization.
release_channel: Option<ReleaseChannel>The feature release channel the organization belongs to.
customers_configuration: Option<Value>Configuration settings for the Customers feature.
code_intelligence_enabled: Option<bool>INTERNAL Whether code intelligence is enabled for the organization.
code_intelligence_repository: Option<String>INTERNAL GitHub repository in owner/repo format for code intelligence.
default_feed_summary_schedule: Option<FeedSummarySchedule>Default schedule for how often feed summaries are generated.
feed_enabled: Option<bool>Whether the organization has enabled the feed feature.
hide_non_primary_organizations: Option<bool>Whether to hide other organizations for new users signing up with email domains claimed by this organization.
ai_addon_enabled: Option<bool>INTERNAL Whether the organization has enabled the AI add-on (which at this point only includes triage suggestions).
generated_updates_enabled: Option<bool>INTERNAL Whether the organization has enabled generated updates.
ai_thread_summaries_enabled: Option<bool>Whether the organization has enabled resolved thread AI summaries.
ai_discussion_summaries_enabled: Option<bool>Whether the organization has enabled AI discussion summaries for issues.
ai_provider_configuration: Option<Value>INTERNAL Configure per-modality AI host providers and model families.
linear_agent_enabled: Option<bool>Internal Whether the organization has enabled Linear Agent.
sla_day_count: Option<SLADayCountType>DEPRECATED Which day count to use for SLA calculations.
project_updates_reminder_frequency: Option<ProjectUpdateReminderFrequency>DEPRECATED The frequency at which to prompt for project updates.
allowed_ai_providers: Option<Vec<String>>INTERNAL Permitted AI providers.
users: Option<Box<UserConnection>>Users associated with the organization.
teams: Option<Box<TeamConnection>>Teams associated with the organization.
project_statuses: Option<Box<Vec<ProjectStatus>>>The organization’s project statuses.
integrations: Option<Box<IntegrationConnection>>Integrations associated with the organization.
slack_project_channel_integration: Option<Box<Integration>>The Slack integration used for auto-creating project channels.
slack_project_channel_prefix: Option<String>The prefix used for auto-created Slack project channels.
subscription: Option<Box<PaidSubscription>>The organization’s subscription to a paid plan.
user_count: Option<i64>Number of active users in the organization.
created_issue_count: Option<i64>Aproximate number of issues in the organization, including archived ones.
templates: Option<Box<TemplateConnection>>Templates associated with the organization.
labels: Option<Box<IssueLabelConnection>>Labels associated with the organization.
project_labels: Option<Box<ProjectLabelConnection>>Project labels associated with the organization.
customer_count: Option<i64>Number of customers in the organization.
customers_enabled: Option<bool>Whether the organization is using Customers.
allow_members_to_invite: Option<bool>DEPRECATED Whether member users are allowed to send invites.
restrict_team_creation_to_admins: Option<bool>DEPRECATED Whether team creation is restricted to admins.
restrict_label_management_to_admins: Option<bool>DEPRECATED Whether workspace label creation, update, and deletion is restricted to admins.
Trait Implementations§
Source§impl Clone for Organization
impl Clone for Organization
Source§fn clone(&self) -> Organization
fn clone(&self) -> Organization
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more