Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class ApiAccessRuleType

java.lang.Object
  extended by com.ebay.soap.eBLBaseComponents.ApiAccessRuleType
All Implemented Interfaces:
java.io.Serializable

public class ApiAccessRuleType
extends java.lang.Object
implements java.io.Serializable

This type is used by the ApiAccessRule container that is returned in the GetApiAccessRules call response. An ApiAccessRule container will be returned for every Trading API call that the user/application has used. The ApiAccessRule container consists of hourly, daily, and periodic call limits for the call, the total number of times the call was used, and other information about usage of the call.

Java class for ApiAccessRuleType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ApiAccessRuleType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="CallName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="CountsTowardAggregate" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="DailyHardLimit" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="DailySoftLimit" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="DailyUsage" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="HourlyHardLimit" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="HourlySoftLimit" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="HourlyUsage" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="Period" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="PeriodicHardLimit" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="PeriodicSoftLimit" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="PeriodicUsage" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="PeriodicStartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="ModTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="RuleCurrentStatus" type="{urn:ebay:apis:eBLBaseComponents}AccessRuleCurrentStatusCodeType" minOccurs="0"/>
         <element name="RuleStatus" type="{urn:ebay:apis:eBLBaseComponents}AccessRuleStatusCodeType" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  java.lang.String callName
           
protected  java.lang.Boolean countsTowardAggregate
           
protected  java.lang.Long dailyHardLimit
           
protected  java.lang.Long dailySoftLimit
           
protected  java.lang.Long dailyUsage
           
protected  java.lang.Long hourlyHardLimit
           
protected  java.lang.Long hourlySoftLimit
           
protected  java.lang.Long hourlyUsage
           
protected  java.util.Calendar modTime
           
protected  java.lang.Integer period
           
protected  java.lang.Long periodicHardLimit
           
protected  java.lang.Long periodicSoftLimit
           
protected  java.util.Calendar periodicStartDate
           
protected  java.lang.Long periodicUsage
           
protected  AccessRuleCurrentStatusCodeType ruleCurrentStatus
           
protected  AccessRuleStatusCodeType ruleStatus
           
 
Constructor Summary
ApiAccessRuleType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 java.lang.String getCallName()
          Gets the value of the callName property.
 java.lang.Long getDailyHardLimit()
          Gets the value of the dailyHardLimit property.
 java.lang.Long getDailySoftLimit()
          Gets the value of the dailySoftLimit property.
 java.lang.Long getDailyUsage()
          Gets the value of the dailyUsage property.
 java.lang.Long getHourlyHardLimit()
          Gets the value of the hourlyHardLimit property.
 java.lang.Long getHourlySoftLimit()
          Gets the value of the hourlySoftLimit property.
 java.lang.Long getHourlyUsage()
          Gets the value of the hourlyUsage property.
 java.util.Calendar getModTime()
          Gets the value of the modTime property.
 java.lang.Integer getPeriod()
          Gets the value of the period property.
 java.lang.Long getPeriodicHardLimit()
          Gets the value of the periodicHardLimit property.
 java.lang.Long getPeriodicSoftLimit()
          Gets the value of the periodicSoftLimit property.
 java.util.Calendar getPeriodicStartDate()
          Gets the value of the periodicStartDate property.
 java.lang.Long getPeriodicUsage()
          Gets the value of the periodicUsage property.
 AccessRuleCurrentStatusCodeType getRuleCurrentStatus()
          Gets the value of the ruleCurrentStatus property.
 AccessRuleStatusCodeType getRuleStatus()
          Gets the value of the ruleStatus property.
 java.lang.Boolean isCountsTowardAggregate()
          Gets the value of the countsTowardAggregate property.
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setCallName(java.lang.String value)
          Sets the value of the callName property.
 void setCountsTowardAggregate(java.lang.Boolean value)
          Sets the value of the countsTowardAggregate property.
 void setDailyHardLimit(java.lang.Long value)
          Sets the value of the dailyHardLimit property.
 void setDailySoftLimit(java.lang.Long value)
          Sets the value of the dailySoftLimit property.
 void setDailyUsage(java.lang.Long value)
          Sets the value of the dailyUsage property.
 void setHourlyHardLimit(java.lang.Long value)
          Sets the value of the hourlyHardLimit property.
 void setHourlySoftLimit(java.lang.Long value)
          Sets the value of the hourlySoftLimit property.
 void setHourlyUsage(java.lang.Long value)
          Sets the value of the hourlyUsage property.
 void setModTime(java.util.Calendar value)
          Sets the value of the modTime property.
 void setPeriod(java.lang.Integer value)
          Sets the value of the period property.
 void setPeriodicHardLimit(java.lang.Long value)
          Sets the value of the periodicHardLimit property.
 void setPeriodicSoftLimit(java.lang.Long value)
          Sets the value of the periodicSoftLimit property.
 void setPeriodicStartDate(java.util.Calendar value)
          Sets the value of the periodicStartDate property.
 void setPeriodicUsage(java.lang.Long value)
          Sets the value of the periodicUsage property.
 void setRuleCurrentStatus(AccessRuleCurrentStatusCodeType value)
          Sets the value of the ruleCurrentStatus property.
 void setRuleStatus(AccessRuleStatusCodeType value)
          Sets the value of the ruleStatus property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

callName

protected java.lang.String callName

countsTowardAggregate

protected java.lang.Boolean countsTowardAggregate

dailyHardLimit

protected java.lang.Long dailyHardLimit

dailySoftLimit

protected java.lang.Long dailySoftLimit

dailyUsage

protected java.lang.Long dailyUsage

hourlyHardLimit

protected java.lang.Long hourlyHardLimit

hourlySoftLimit

protected java.lang.Long hourlySoftLimit

hourlyUsage

protected java.lang.Long hourlyUsage

period

protected java.lang.Integer period

periodicHardLimit

protected java.lang.Long periodicHardLimit

periodicSoftLimit

protected java.lang.Long periodicSoftLimit

periodicUsage

protected java.lang.Long periodicUsage

periodicStartDate

protected java.util.Calendar periodicStartDate

modTime

protected java.util.Calendar modTime

ruleCurrentStatus

protected AccessRuleCurrentStatusCodeType ruleCurrentStatus

ruleStatus

protected AccessRuleStatusCodeType ruleStatus

any

protected java.util.List<java.lang.Object> any
Constructor Detail

ApiAccessRuleType

public ApiAccessRuleType()
Method Detail

getCallName

public java.lang.String getCallName()
Gets the value of the callName property.

Returns:
possible object is String

setCallName

public void setCallName(java.lang.String value)
Sets the value of the callName property.

Parameters:
value - allowed object is String

isCountsTowardAggregate

public java.lang.Boolean isCountsTowardAggregate()
Gets the value of the countsTowardAggregate property.

Returns:
possible object is Boolean

setCountsTowardAggregate

public void setCountsTowardAggregate(java.lang.Boolean value)
Sets the value of the countsTowardAggregate property.

Parameters:
value - allowed object is Boolean

getDailyHardLimit

public java.lang.Long getDailyHardLimit()
Gets the value of the dailyHardLimit property.

Returns:
possible object is Long

setDailyHardLimit

public void setDailyHardLimit(java.lang.Long value)
Sets the value of the dailyHardLimit property.

Parameters:
value - allowed object is Long

getDailySoftLimit

public java.lang.Long getDailySoftLimit()
Gets the value of the dailySoftLimit property.

Returns:
possible object is Long

setDailySoftLimit

public void setDailySoftLimit(java.lang.Long value)
Sets the value of the dailySoftLimit property.

Parameters:
value - allowed object is Long

getDailyUsage

public java.lang.Long getDailyUsage()
Gets the value of the dailyUsage property.

Returns:
possible object is Long

setDailyUsage

public void setDailyUsage(java.lang.Long value)
Sets the value of the dailyUsage property.

Parameters:
value - allowed object is Long

getHourlyHardLimit

public java.lang.Long getHourlyHardLimit()
Gets the value of the hourlyHardLimit property.

Returns:
possible object is Long

setHourlyHardLimit

public void setHourlyHardLimit(java.lang.Long value)
Sets the value of the hourlyHardLimit property.

Parameters:
value - allowed object is Long

getHourlySoftLimit

public java.lang.Long getHourlySoftLimit()
Gets the value of the hourlySoftLimit property.

Returns:
possible object is Long

setHourlySoftLimit

public void setHourlySoftLimit(java.lang.Long value)
Sets the value of the hourlySoftLimit property.

Parameters:
value - allowed object is Long

getHourlyUsage

public java.lang.Long getHourlyUsage()
Gets the value of the hourlyUsage property.

Returns:
possible object is Long

setHourlyUsage

public void setHourlyUsage(java.lang.Long value)
Sets the value of the hourlyUsage property.

Parameters:
value - allowed object is Long

getPeriod

public java.lang.Integer getPeriod()
Gets the value of the period property.

Returns:
possible object is Integer

setPeriod

public void setPeriod(java.lang.Integer value)
Sets the value of the period property.

Parameters:
value - allowed object is Integer

getPeriodicHardLimit

public java.lang.Long getPeriodicHardLimit()
Gets the value of the periodicHardLimit property.

Returns:
possible object is Long

setPeriodicHardLimit

public void setPeriodicHardLimit(java.lang.Long value)
Sets the value of the periodicHardLimit property.

Parameters:
value - allowed object is Long

getPeriodicSoftLimit

public java.lang.Long getPeriodicSoftLimit()
Gets the value of the periodicSoftLimit property.

Returns:
possible object is Long

setPeriodicSoftLimit

public void setPeriodicSoftLimit(java.lang.Long value)
Sets the value of the periodicSoftLimit property.

Parameters:
value - allowed object is Long

getPeriodicUsage

public java.lang.Long getPeriodicUsage()
Gets the value of the periodicUsage property.

Returns:
possible object is Long

setPeriodicUsage

public void setPeriodicUsage(java.lang.Long value)
Sets the value of the periodicUsage property.

Parameters:
value - allowed object is Long

getPeriodicStartDate

public java.util.Calendar getPeriodicStartDate()
Gets the value of the periodicStartDate property.

Returns:
possible object is String

setPeriodicStartDate

public void setPeriodicStartDate(java.util.Calendar value)
Sets the value of the periodicStartDate property.

Parameters:
value - allowed object is String

getModTime

public java.util.Calendar getModTime()
Gets the value of the modTime property.

Returns:
possible object is String

setModTime

public void setModTime(java.util.Calendar value)
Sets the value of the modTime property.

Parameters:
value - allowed object is String

getRuleCurrentStatus

public AccessRuleCurrentStatusCodeType getRuleCurrentStatus()
Gets the value of the ruleCurrentStatus property.

Returns:
possible object is AccessRuleCurrentStatusCodeType

setRuleCurrentStatus

public void setRuleCurrentStatus(AccessRuleCurrentStatusCodeType value)
Sets the value of the ruleCurrentStatus property.

Parameters:
value - allowed object is AccessRuleCurrentStatusCodeType

getRuleStatus

public AccessRuleStatusCodeType getRuleStatus()
Gets the value of the ruleStatus property.

Returns:
possible object is AccessRuleStatusCodeType

setRuleStatus

public void setRuleStatus(AccessRuleStatusCodeType value)
Sets the value of the ruleStatus property.

Parameters:
value - allowed object is AccessRuleStatusCodeType

getAny

public java.lang.Object[] getAny()
Returns:
array of Object Element

getAny

public java.lang.Object getAny(int idx)
Returns:
one of Object Element

getAnyLength

public int getAnyLength()

setAny

public void setAny(java.lang.Object[] values)
Parameters:
values - allowed objects are Object Element

_getAny

protected java.util.List<java.lang.Object> _getAny()

setAny

public java.lang.Object setAny(int idx,
                               java.lang.Object value)
Parameters:
value - allowed object is Object Element

Changes since
the last release

The information contained in this document is proprietary and confidential. Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc. For information regarding a qualifying NDA, contact Developer Relations: developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.