你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IssueContractBaseProperties Class

  • java.lang.Object
    • com.microsoft.azure.management.apimanagement.v2019_01_01.IssueContractBaseProperties

public class IssueContractBaseProperties

Issue contract Base Properties.

Constructor Summary

Constructor Description
IssueContractBaseProperties()

Method Summary

Modifier and Type Method and Description
java.lang.String apiId()

Get a resource identifier for the API the issue was created for.

org.joda.time.DateTime createdDate()

Get date and time when the issue was created.

State state()

Get status of the issue.

IssueContractBaseProperties withApiId(String apiId)

Set a resource identifier for the API the issue was created for.

IssueContractBaseProperties withCreatedDate(DateTime createdDate)

Set date and time when the issue was created.

IssueContractBaseProperties withState(State state)

Set status of the issue.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

IssueContractBaseProperties

public IssueContractBaseProperties()

Method Details

apiId

public String apiId()

Get a resource identifier for the API the issue was created for.

Returns:

the apiId value

createdDate

public DateTime createdDate()

Get date and time when the issue was created.

Returns:

the createdDate value

state

public State state()

Get status of the issue. Possible values include: 'proposed', 'open', 'removed', 'resolved', 'closed'.

Returns:

the state value

withApiId

public IssueContractBaseProperties withApiId(String apiId)

Set a resource identifier for the API the issue was created for.

Parameters:

apiId - the apiId value to set

Returns:

the IssueContractBaseProperties object itself.

withCreatedDate

public IssueContractBaseProperties withCreatedDate(DateTime createdDate)

Set date and time when the issue was created.

Parameters:

createdDate - the createdDate value to set

Returns:

the IssueContractBaseProperties object itself.

withState

public IssueContractBaseProperties withState(State state)

Set status of the issue. Possible values include: 'proposed', 'open', 'removed', 'resolved', 'closed'.

Parameters:

state - the state value to set

Returns:

the IssueContractBaseProperties object itself.

Applies to