Class IssueContractBaseProperties
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.IssueContractBaseProperties
-
- Direct Known Subclasses:
IssueContractProperties
,IssueUpdateContractProperties
public class IssueContractBaseProperties extends Object
Issue contract Base Properties.
-
-
Constructor Summary
Constructors Constructor Description IssueContractBaseProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
apiId()
Get the apiId property: A resource identifier for the API the issue was created for.OffsetDateTime
createdDate()
Get the createdDate property: Date and time when the issue was created.State
state()
Get the state property: Status of the issue.void
validate()
Validates the instance.IssueContractBaseProperties
withApiId(String apiId)
Set the apiId property: A resource identifier for the API the issue was created for.IssueContractBaseProperties
withCreatedDate(OffsetDateTime createdDate)
Set the createdDate property: Date and time when the issue was created.IssueContractBaseProperties
withState(State state)
Set the state property: Status of the issue.
-
-
-
Method Detail
-
createdDate
public OffsetDateTime createdDate()
Get the createdDate property: Date and time when the issue was created.- Returns:
- the createdDate value.
-
withCreatedDate
public IssueContractBaseProperties withCreatedDate(OffsetDateTime createdDate)
Set the createdDate property: Date and time when the issue was created.- Parameters:
createdDate
- the createdDate value to set.- Returns:
- the IssueContractBaseProperties object itself.
-
state
public State state()
Get the state property: Status of the issue.- Returns:
- the state value.
-
withState
public IssueContractBaseProperties withState(State state)
Set the state property: Status of the issue.- Parameters:
state
- the state value to set.- Returns:
- the IssueContractBaseProperties object itself.
-
apiId
public String apiId()
Get the apiId property: A resource identifier for the API the issue was created for.- Returns:
- the apiId value.
-
withApiId
public IssueContractBaseProperties withApiId(String apiId)
Set the apiId property: A resource identifier for the API the issue was created for.- Parameters:
apiId
- the apiId value to set.- Returns:
- the IssueContractBaseProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-