Поделиться через


DevCenterProjectCatalogSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.devcenter.models.DevCenterProjectCatalogSettings

Implements

public final class DevCenterProjectCatalogSettings
implements JsonSerializable<DevCenterProjectCatalogSettings>

Project catalog settings for project catalogs under a project associated to this dev center.

Constructor Summary

Constructor Description
DevCenterProjectCatalogSettings()

Creates an instance of DevCenterProjectCatalogSettings class.

Method Summary

Modifier and Type Method and Description
CatalogItemSyncEnableStatus catalogItemSyncEnableStatus()

Get the catalogItemSyncEnableStatus property: Whether project catalogs associated with projects in this dev center can be configured to sync catalog items.

static DevCenterProjectCatalogSettings fromJson(JsonReader jsonReader)

Reads an instance of DevCenterProjectCatalogSettings from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DevCenterProjectCatalogSettings withCatalogItemSyncEnableStatus(CatalogItemSyncEnableStatus catalogItemSyncEnableStatus)

Set the catalogItemSyncEnableStatus property: Whether project catalogs associated with projects in this dev center can be configured to sync catalog items.

Methods inherited from java.lang.Object

Constructor Details

DevCenterProjectCatalogSettings

public DevCenterProjectCatalogSettings()

Creates an instance of DevCenterProjectCatalogSettings class.

Method Details

catalogItemSyncEnableStatus

public CatalogItemSyncEnableStatus catalogItemSyncEnableStatus()

Get the catalogItemSyncEnableStatus property: Whether project catalogs associated with projects in this dev center can be configured to sync catalog items.

Returns:

the catalogItemSyncEnableStatus value.

fromJson

public static DevCenterProjectCatalogSettings fromJson(JsonReader jsonReader)

Reads an instance of DevCenterProjectCatalogSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DevCenterProjectCatalogSettings 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 DevCenterProjectCatalogSettings.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCatalogItemSyncEnableStatus

public DevCenterProjectCatalogSettings withCatalogItemSyncEnableStatus(CatalogItemSyncEnableStatus catalogItemSyncEnableStatus)

Set the catalogItemSyncEnableStatus property: Whether project catalogs associated with projects in this dev center can be configured to sync catalog items.

Parameters:

catalogItemSyncEnableStatus - the catalogItemSyncEnableStatus value to set.

Returns:

the DevCenterProjectCatalogSettings object itself.

Applies to