PHP 클래스 ThreeScaleAuthorizeResponseUsageReport

One object of this class always corresponds to one usage limit defined on the plan.
파일 보기 프로젝트 열기: 3scale/3scale_ws_api_for_php

공개 메소드들

메소드 설명
getCurrentValue ( ) : integer The value the application alredy spent in the current period of the usage limit.
getMaxValue ( ) : integer Maximum value allowed by the usage limit for the current period.
getMetric ( ) Name of the metric the usage limit is defined for.
getPeriod ( ) The period of the usage limit.
getPeriodEnd ( ) : integer End of the current period of the usage limit, as unix timestamp.
getPeriodStart ( ) : integer Start of the current period of the usage limit, as unix timestamp.
isExceeded ( ) Is the usage limit corresponding to this report exceeded?
setCurrentValue ( $value )
setMaxValue ( $value )
setMetric ( $metric )
setPeriod ( $period )
setPeriodInterval ( $start, $end )

메소드 상세

getCurrentValue() 공개 메소드

The value the application alredy spent in the current period of the usage limit.
public getCurrentValue ( ) : integer
리턴 integer

getMaxValue() 공개 메소드

Maximum value allowed by the usage limit for the current period.
public getMaxValue ( ) : integer
리턴 integer

getMetric() 공개 메소드

Name of the metric the usage limit is defined for.
public getMetric ( )

getPeriod() 공개 메소드

The period of the usage limit.
public getPeriod ( )

getPeriodEnd() 공개 메소드

End of the current period of the usage limit, as unix timestamp.
public getPeriodEnd ( ) : integer
리턴 integer (unit timestamp)

getPeriodStart() 공개 메소드

Start of the current period of the usage limit, as unix timestamp.
public getPeriodStart ( ) : integer
리턴 integer (unit timestamp)

isExceeded() 공개 메소드

Is the usage limit corresponding to this report exceeded?
public isExceeded ( )

setCurrentValue() 공개 메소드

public setCurrentValue ( $value )

setMaxValue() 공개 메소드

public setMaxValue ( $value )

setMetric() 공개 메소드

public setMetric ( $metric )

setPeriod() 공개 메소드

public setPeriod ( $period )

setPeriodInterval() 공개 메소드

public setPeriodInterval ( $start, $end )