次の方法で共有


ProjectCatalogSettings Class

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

Implements

public final class ProjectCatalogSettings
implements JsonSerializable<ProjectCatalogSettings>

Settings to be used when associating a project with a catalog.

Constructor Summary

Constructor Description
ProjectCatalogSettings()

Creates an instance of ProjectCatalogSettings class.

Method Summary

Modifier and Type Method and Description
List<CatalogItemType> catalogItemSyncTypes()

Get the catalogItemSyncTypes property: Indicates catalog item types that can be synced.

static ProjectCatalogSettings fromJson(JsonReader jsonReader)

Reads an instance of ProjectCatalogSettings from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ProjectCatalogSettings withCatalogItemSyncTypes(List<CatalogItemType> catalogItemSyncTypes)

Set the catalogItemSyncTypes property: Indicates catalog item types that can be synced.

Methods inherited from java.lang.Object

Constructor Details

ProjectCatalogSettings

public ProjectCatalogSettings()

Creates an instance of ProjectCatalogSettings class.

Method Details

catalogItemSyncTypes

public List<CatalogItemType> catalogItemSyncTypes()

Get the catalogItemSyncTypes property: Indicates catalog item types that can be synced.

Returns:

the catalogItemSyncTypes value.

fromJson

public static ProjectCatalogSettings fromJson(JsonReader jsonReader)

Reads an instance of ProjectCatalogSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCatalogItemSyncTypes

public ProjectCatalogSettings withCatalogItemSyncTypes(List<CatalogItemType> catalogItemSyncTypes)

Set the catalogItemSyncTypes property: Indicates catalog item types that can be synced.

Parameters:

catalogItemSyncTypes - the catalogItemSyncTypes value to set.

Returns:

the ProjectCatalogSettings object itself.

Applies to