Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 1.28 KB

StatisticRep.md

File metadata and controls

36 lines (30 loc) · 1.28 KB

LaunchDarklyApi::StatisticRep

Properties

Name Type Description Notes
name String The repository name
type String The type of repository
source_link String A URL to access the repository
default_branch String The repository's default branch
enabled Boolean Whether or not a repository is enabled for code reference scanning
version Integer The version of the repository's saved information
hunk_count Integer The number of code reference hunks in which the flag appears in this repository
file_count Integer The number of files in which the flag appears in this repository
_links Hash<String, Link> The location and content type of related resources
latest_commit_time Integer [optional]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::StatisticRep.new(
  name: LaunchDarkly-Docs,
  type: github,
  source_link: https://github.com/launchdarkly/LaunchDarkly-Docs,
  default_branch: main,
  enabled: true,
  version: 3,
  hunk_count: null,
  file_count: null,
  _links: null,
  latest_commit_time: null
)