java.lang.Object
com.azure.resourcemanager.securityinsights.fluent.models.RepoInner

public final class RepoInner extends Object
Represents a repository.
  • Constructor Details

    • RepoInner

      public RepoInner()
  • Method Details

    • url

      public String url()
      Get the url property: The url to access the repository.
      Returns:
      the url value.
    • withUrl

      public RepoInner withUrl(String url)
      Set the url property: The url to access the repository.
      Parameters:
      url - the url value to set.
      Returns:
      the RepoInner object itself.
    • fullName

      public String fullName()
      Get the fullName property: The name of the repository.
      Returns:
      the fullName value.
    • withFullName

      public RepoInner withFullName(String fullName)
      Set the fullName property: The name of the repository.
      Parameters:
      fullName - the fullName value to set.
      Returns:
      the RepoInner object itself.
    • branches

      public List<String> branches()
      Get the branches property: Array of branches.
      Returns:
      the branches value.
    • withBranches

      public RepoInner withBranches(List<String> branches)
      Set the branches property: Array of branches.
      Parameters:
      branches - the branches value to set.
      Returns:
      the RepoInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.