Share via


IssueUpdateContract Class

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

public class IssueUpdateContract

Issue update Parameters.

Constructor Summary

Constructor Description
IssueUpdateContract()

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.

java.lang.String description()

Get text describing the issue.

State state()

Get status of the issue.

java.lang.String title()

Get the issue title.

java.lang.String userId()

Get a resource identifier for the user created the issue.

IssueUpdateContract withApiId(String apiId)

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

IssueUpdateContract withCreatedDate(DateTime createdDate)

Set date and time when the issue was created.

IssueUpdateContract withDescription(String description)

Set text describing the issue.

IssueUpdateContract withState(State state)

Set status of the issue.

IssueUpdateContract withTitle(String title)

Set the issue title.

IssueUpdateContract withUserId(String userId)

Set a resource identifier for the user created 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

IssueUpdateContract

public IssueUpdateContract()

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

description

public String description()

Get text describing the issue.

Returns:

the description value

state

public State state()

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

Returns:

the state value

title

public String title()

Get the issue title.

Returns:

the title value

userId

public String userId()

Get a resource identifier for the user created the issue.

Returns:

the userId value

withApiId

public IssueUpdateContract withApiId(String apiId)

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

Parameters:

apiId - the apiId value to set

Returns:

the IssueUpdateContract object itself.

withCreatedDate

public IssueUpdateContract withCreatedDate(DateTime createdDate)

Set date and time when the issue was created.

Parameters:

createdDate - the createdDate value to set

Returns:

the IssueUpdateContract object itself.

withDescription

public IssueUpdateContract withDescription(String description)

Set text describing the issue.

Parameters:

description - the description value to set

Returns:

the IssueUpdateContract object itself.

withState

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

withTitle

public IssueUpdateContract withTitle(String title)

Set the issue title.

Parameters:

title - the title value to set

Returns:

the IssueUpdateContract object itself.

withUserId

public IssueUpdateContract withUserId(String userId)

Set a resource identifier for the user created the issue.

Parameters:

userId - the userId value to set

Returns:

the IssueUpdateContract object itself.

Applies to