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


CatalogInner Class

public final class CatalogInner
extends ProxyResource

Represents a catalog.

Constructor Summary

Constructor Description
CatalogInner()

Creates an instance of CatalogInner class.

Method Summary

Modifier and Type Method and Description
GitCatalog adoGit()

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

CatalogConnectionState connectionState()

Get the connectionState property: The connection state of the catalog.

static CatalogInner fromJson(JsonReader jsonReader)

Reads an instance of CatalogInner from the JsonReader.

GitCatalog gitHub()

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

String id()

Get the id property: Fully qualified resource Id for the resource.

OffsetDateTime lastConnectionTime()

Get the lastConnectionTime property: When the catalog was last connected.

SyncStats lastSyncStats()

Get the lastSyncStats property: Stats of the latest synchronization.

OffsetDateTime lastSyncTime()

Get the lastSyncTime property: When the catalog was last synced.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

CatalogSyncState syncState()

Get the syncState property: The synchronization state of the catalog.

CatalogSyncType syncType()

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

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

CatalogInner withAdoGit(GitCatalog adoGit)

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

CatalogInner withGitHub(GitCatalog gitHub)

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

CatalogInner withSyncType(CatalogSyncType syncType)

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

CatalogInner withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

CatalogInner

public CatalogInner()

Creates an instance of CatalogInner class.

Method Details

adoGit

public GitCatalog adoGit()

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

Returns:

the adoGit value.

connectionState

public CatalogConnectionState connectionState()

Get the connectionState property: The connection state of the catalog.

Returns:

the connectionState value.

fromJson

public static CatalogInner fromJson(JsonReader jsonReader)

Reads an instance of CatalogInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

gitHub

public GitCatalog gitHub()

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

Returns:

the gitHub value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

CatalogInner.id()

Returns:

the id value.

lastConnectionTime

public OffsetDateTime lastConnectionTime()

Get the lastConnectionTime property: When the catalog was last connected.

Returns:

the lastConnectionTime value.

lastSyncStats

public SyncStats lastSyncStats()

Get the lastSyncStats property: Stats of the latest synchronization.

Returns:

the lastSyncStats value.

lastSyncTime

public OffsetDateTime lastSyncTime()

Get the lastSyncTime property: When the catalog was last synced.

Returns:

the lastSyncTime value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

CatalogInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

Returns:

the provisioningState value.

syncState

public CatalogSyncState syncState()

Get the syncState property: The synchronization state of the catalog.

Returns:

the syncState value.

syncType

public CatalogSyncType syncType()

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

Returns:

the syncType value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CatalogInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

CatalogInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAdoGit

public CatalogInner withAdoGit(GitCatalog adoGit)

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

Parameters:

adoGit - the adoGit value to set.

Returns:

the CatalogInner object itself.

withGitHub

public CatalogInner withGitHub(GitCatalog gitHub)

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

Parameters:

gitHub - the gitHub value to set.

Returns:

the CatalogInner object itself.

withSyncType

public CatalogInner 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 CatalogInner object itself.

withTags

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

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the CatalogInner object itself.

Applies to