Share via


Repo Class

Definition

Represents a repository.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.RepoTypeConverter))]
public class Repo : Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IRepo
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.RepoTypeConverter))>]
type Repo = class
    interface IRepo
    interface IJsonSerializable
Public Class Repo
Implements IRepo
Inheritance
Repo
Attributes
Implements

Constructors

Repo()

Creates an new Repo instance.

Properties

Branch

Array of branches.

FullName

The name of the repository.

Url

The url to access the repository.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Repo.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Repo.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IRepo.

FromJsonString(String)

Creates a new instance of Repo, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Repo into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to