ContentTypeContract Interface

public interface ContentTypeContract

An immutable client-side representation of ContentTypeContract.

Method Summary

Modifier and Type Method and Description
abstract String description()

Gets the description property: Content type description.

abstract String id()

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

abstract String idPropertiesId()

Gets the idPropertiesId property: Content type identifier.

abstract ContentTypeContractInner innerModel()

Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.ContentTypeContractInner object.

abstract String name()

Gets the name property: The name of the resource.

abstract String namePropertiesName()

Gets the namePropertiesName property: Content type name.

abstract ContentTypeContract refresh()

Refreshes the resource to sync with Azure.

abstract ContentTypeContract refresh(Context context)

Refreshes the resource to sync with Azure.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract Object schema()

Gets the schema property: Content type schema.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the ContentTypeContract resource.

abstract String version()

Gets the version property: Content type version.

Method Details

description

public abstract String description()

Gets the description property: Content type description.

Returns:

the description value.

id

public abstract String id()

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

Returns:

the id value.

idPropertiesId

public abstract String idPropertiesId()

Gets the idPropertiesId property: Content type identifier.

Returns:

the idPropertiesId value.

innerModel

public abstract ContentTypeContractInner innerModel()

Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.ContentTypeContractInner object.

Returns:

the inner object.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

namePropertiesName

public abstract String namePropertiesName()

Gets the namePropertiesName property: Content type name. Must be 1 to 250 characters long.

Returns:

the namePropertiesName value.

refresh

public abstract ContentTypeContract refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract ContentTypeContract refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

schema

public abstract Object schema()

Gets the schema property: Content type schema.

Returns:

the schema value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract ContentTypeContract.Update update()

Begins update for the ContentTypeContract resource.

Returns:

the stage of resource update.

version

public abstract String version()

Gets the version property: Content type version.

Returns:

the version value.

Applies to