getPortalProductSharingPolicy method
Future<GetPortalProductSharingPolicyResponse>
getPortalProductSharingPolicy({
- required String portalProductId,
Gets the sharing policy for a portal product.
May throw AccessDeniedException.
May throw BadRequestException.
May throw NotFoundException.
May throw TooManyRequestsException.
Parameter portalProductId :
The portal product identifier.
Implementation
Future<GetPortalProductSharingPolicyResponse> getPortalProductSharingPolicy({
required String portalProductId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/v2/portalproducts/${Uri.encodeComponent(portalProductId)}/sharingpolicy',
exceptionFnMap: _exceptionFns,
);
return GetPortalProductSharingPolicyResponse.fromJson(response);
}