Class RepoInner
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.fluent.models.RepoInner
-
public final class RepoInner extends Object
Represents a repository.
-
-
Constructor Summary
Constructors Constructor Description RepoInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
branches()
Get the branches property: Array of branches.String
fullName()
Get the fullName property: The name of the repository.String
url()
Get the url property: The url to access the repository.void
validate()
Validates the instance.RepoInner
withBranches(List<String> branches)
Set the branches property: Array of branches.RepoInner
withFullName(String fullName)
Set the fullName property: The name of the repository.RepoInner
withUrl(String url)
Set the url property: The url to access the repository.
-
-
-
Method Detail
-
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.
-
-