Share via


CatalogUpdateProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.devcenter.fluent.models.CatalogUpdateProperties

Implements

public class CatalogUpdateProperties
implements JsonSerializable<CatalogUpdateProperties>

Properties of a catalog. These properties can be updated after the resource has been created.

Constructor Summary

Constructor Description
CatalogUpdateProperties()

Creates an instance of CatalogUpdateProperties class.

Method Summary

Modifier and Type Method and Description
GitCatalog adoGit()

Get the adoGit property: Properties for an Azure DevOps catalog type.

static CatalogUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of CatalogUpdateProperties from the JsonReader.

GitCatalog gitHub()

Get the gitHub property: Properties for a GitHub catalog type.

CatalogSyncType syncType()

Get the syncType property: Indicates the type of sync that is configured for the catalog.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CatalogUpdateProperties withAdoGit(GitCatalog adoGit)

Set the adoGit property: Properties for an Azure DevOps catalog type.

CatalogUpdateProperties withGitHub(GitCatalog gitHub)

Set the gitHub property: Properties for a GitHub catalog type.

CatalogUpdateProperties withSyncType(CatalogSyncType syncType)

Set the syncType property: Indicates the type of sync that is configured for the catalog.

CatalogUpdateProperties withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

CatalogUpdateProperties

public CatalogUpdateProperties()

Creates an instance of CatalogUpdateProperties class.

Method Details

adoGit

public GitCatalog adoGit()

Get the adoGit property: Properties for an Azure DevOps catalog type.

Returns:

the adoGit value.

fromJson

public static CatalogUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of CatalogUpdateProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CatalogUpdateProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the CatalogUpdateProperties.

gitHub

public GitCatalog gitHub()

Get the gitHub property: Properties for a GitHub catalog type.

Returns:

the gitHub value.

syncType

public CatalogSyncType syncType()

Get the syncType property: Indicates the type of sync that is configured for the catalog.

Returns:

the syncType value.

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdoGit

public CatalogUpdateProperties withAdoGit(GitCatalog adoGit)

Set the adoGit property: Properties for an Azure DevOps catalog type.

Parameters:

adoGit - the adoGit value to set.

Returns:

the CatalogUpdateProperties object itself.

withGitHub

public CatalogUpdateProperties withGitHub(GitCatalog gitHub)

Set the gitHub property: Properties for a GitHub catalog type.

Parameters:

gitHub - the gitHub value to set.

Returns:

the CatalogUpdateProperties object itself.

withSyncType

public CatalogUpdateProperties withSyncType(CatalogSyncType syncType)

Set the syncType property: Indicates the type of sync that is configured for the catalog.

Parameters:

syncType - the syncType value to set.

Returns:

the CatalogUpdateProperties object itself.

withTags

public CatalogUpdateProperties withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the CatalogUpdateProperties object itself.

Applies to