Class APIMetadataDTO
java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.dto.APIMetadataDTO
APIMetadataDTO
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet contextgetId()Get idgetName()Get nameIf the provider value is not given, the user invoking the API will be used as the provider.Get versioninthashCode()voidsetContext(String context) voidvoidvoidsetProvider(String provider) voidsetVersion(String version) toString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_CONTEXT
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
SERIALIZED_NAME_PROVIDER
- See Also:
-
-
Constructor Details
-
APIMetadataDTO
public APIMetadataDTO()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
name
-
getName
Get name- Returns:
- name
-
setName
-
context
-
getContext
Get context- Returns:
- context
-
setContext
-
version
-
getVersion
Get version- Returns:
- version
-
setVersion
-
provider
-
getProvider
If the provider value is not given, the user invoking the API will be used as the provider.- Returns:
- provider
-
setProvider
-
equals
-
hashCode
public int hashCode() -
toString
-