Class ProtocolSpecificMetadata
java.lang.Object
com.sap.cloud.sdk.datamodel.metadata.generator.ProtocolSpecificMetadata
Protocol-specific Datamodel Metadata.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProtocolSpecificMetadata
ofODataV2
(ODataApiUsageMetadata oDataApiUsageMetadata) Returns theProtocolSpecificMetadata
initialized with theServiceType.ODATA_V2
and theODataApiUsageMetadata
.static ProtocolSpecificMetadata
ofODataV4
(ODataApiUsageMetadata oDataApiUsageMetadata) Returns theProtocolSpecificMetadata
initialized with theServiceType.ODATA_V4
and theODataApiUsageMetadata
.static ProtocolSpecificMetadata
ofRest
(RestApiUsageMetadata restApiUsageMetadata) Returns theProtocolSpecificMetadata
initialized with theServiceType.REST
and theRestApiUsageMetadata
.
-
Method Details
-
ofODataV2
@Nonnull public static ProtocolSpecificMetadata ofODataV2(@Nullable ODataApiUsageMetadata oDataApiUsageMetadata) Returns theProtocolSpecificMetadata
initialized with theServiceType.ODATA_V2
and theODataApiUsageMetadata
.- Parameters:
oDataApiUsageMetadata
- The OData API usage metadata- Returns:
- The initialized
ProtocolSpecificMetadata
-
ofODataV4
@Nonnull public static ProtocolSpecificMetadata ofODataV4(@Nullable ODataApiUsageMetadata oDataApiUsageMetadata) Returns theProtocolSpecificMetadata
initialized with theServiceType.ODATA_V4
and theODataApiUsageMetadata
.- Parameters:
oDataApiUsageMetadata
- The OData API usage metadata- Returns:
- The initialized
ProtocolSpecificMetadata
-
ofRest
@Nonnull public static ProtocolSpecificMetadata ofRest(@Nullable RestApiUsageMetadata restApiUsageMetadata) Returns theProtocolSpecificMetadata
initialized with theServiceType.REST
and theRestApiUsageMetadata
.- Parameters:
restApiUsageMetadata
- The REST API usage metadata- Returns:
- The initialized
ProtocolSpecificMetadata
-
getServiceType
-
getApiUsageMetadata
-