Class OrgUsage
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.usage_reports.v4.model.OrgUsage
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class OrgUsage extends com.ibm.cloud.sdk.core.service.model.GenericModelThe aggregated usage and charges for all the plans in the org.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAccountId()Gets the accountId.java.lang.StringgetCurrencyCode()Gets the currencyCode.java.lang.DoublegetCurrencyRate()Gets the currencyRate.java.lang.StringgetMonth()Gets the month.java.lang.StringgetOrganizationId()Gets the organizationId.java.lang.StringgetOrganizationName()Gets the organizationName.java.lang.StringgetPricingCountry()Gets the pricingCountry.java.util.List<Resource>getResources()Gets the resources.
-
-
-
Method Detail
-
getAccountId
public java.lang.String getAccountId()
Gets the accountId. The ID of the account.- Returns:
- the accountId
-
getOrganizationId
public java.lang.String getOrganizationId()
Gets the organizationId. The ID of the organization.- Returns:
- the organizationId
-
getOrganizationName
public java.lang.String getOrganizationName()
Gets the organizationName. The name of the organization.- Returns:
- the organizationName
-
getPricingCountry
public java.lang.String getPricingCountry()
Gets the pricingCountry. The target country pricing that should be used.- Returns:
- the pricingCountry
-
getCurrencyCode
public java.lang.String getCurrencyCode()
Gets the currencyCode. The currency for the cost fields in the resources, plans and metrics.- Returns:
- the currencyCode
-
getMonth
public java.lang.String getMonth()
Gets the month. The month.- Returns:
- the month
-
getResources
public java.util.List<Resource> getResources()
Gets the resources. All the resource used in the account.- Returns:
- the resources
-
getCurrencyRate
public java.lang.Double getCurrencyRate()
Gets the currencyRate. The value of the account's currency in USD.- Returns:
- the currencyRate
-
-