Class RepoInner
java.lang.Object
com.azure.resourcemanager.securityinsights.fluent.models.RepoInner
Represents a repository.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbranches()
Get the branches property: Array of branches.fullName()
Get the fullName property: The name of the repository.url()
Get the url property: The url to access the repository.void
validate()
Validates the instance.withBranches
(List<String> branches) Set the branches property: Array of branches.withFullName
(String fullName) Set the fullName property: The name of the repository.Set the url property: The url to access the repository.
-
Constructor Details
-
RepoInner
public RepoInner()
-
-
Method Details
-
url
Get the url property: The url to access the repository.- Returns:
- the url value.
-
withUrl
Set the url property: The url to access the repository.- Parameters:
url
- the url value to set.- Returns:
- the RepoInner object itself.
-
fullName
Get the fullName property: The name of the repository.- Returns:
- the fullName value.
-
withFullName
Set the fullName property: The name of the repository.- Parameters:
fullName
- the fullName value to set.- Returns:
- the RepoInner object itself.
-
branches
Get the branches property: Array of branches.- Returns:
- the branches value.
-
withBranches
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.
-