public GetMediaStatisticResponse getMediaStatistic(GetMediaStatisticRequest request) {
        checkIsTrue(request.getMediaId() != null, "mediaId is null!");

        InternalRequest internalRequest =
                createRequest(HttpMethodName.GET, request, MEDIA_STATISTIC, request.getMediaId());
        if (request.getStartTime() != null) {
            internalRequest.addParameter(START_TIME,
                    DateUtils.formatAlternateIso8601Date(request.getStartTime()));
        }
        if (request.getEndTime() != null) {
            internalRequest.addParameter(END_TIME,
                    DateUtils.formatAlternateIso8601Date(request.getEndTime()));
        }
        internalRequest.addParameter(AGGREGATE, String.valueOf(request.isAggregate()));
        return invokeHttpClient(internalRequest, GetMediaStatisticResponse.class);
    }
public GetMediaStatisticResponse getMediaStatistic ( GetMediaStatisticRequest request ) { checkIsTrue ( request . getMediaId ( ) != null , "mediaId is null!" ) ; InternalRequest internalRequest = createRequest ( HttpMethodName . GET , request , MEDIA_STATISTIC , request . getMediaId ( ) ) ; if ( request . getStartTime ( ) != null ) { internalRequest . addParameter ( START_TIME , DateUtils . formatAlternateIso8601Date ( request . getStartTime ( ) ) ) ; } if ( request . getEndTime ( ) != null ) { internalRequest . addParameter ( END_TIME , DateUtils . formatAlternateIso8601Date ( request . getEndTime ( ) ) ) ; } internalRequest . addParameter ( AGGREGATE , String . valueOf ( request . isAggregate ( ) ) ) ; return invokeHttpClient ( internalRequest , GetMediaStatisticResponse . class ) ; }
get media statistic info.

<p>
The caller <i>must</i> authenticate with a valid BCE Access Key / Private Key pair.

@param request The request wrapper object containing all options.
@return The media statistic info