Class UsageConsumptionServiceRef
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.UsageConsumptionServiceRef
@Validated
@Generated(value="de.hybris.platform.tuawebservicesresources.swagger.TmaCodegen",
date="2022-10-21T20:35:04.698Z")
public class UsageConsumptionServiceRef
extends Object
Service reference, for when Service is used by other entities.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConsumptionSummaryItem(ConsumptionSummary consumptionSummaryItem) atbaseType(String atbaseType) atreferredType(String atreferredType) atschemaLocation(String atschemaLocation) consumptionSummary(List<ConsumptionSummary> consumptionSummary) booleanWhen sub-classing, this defines the super-classThe actual type of the target instance when needed for disambiguation.A URI to a JSON-Schema file that defines additional attributes and relationshipsWhen sub-classing, this defines the sub-class entity name@Valid List<ConsumptionSummary>Get consumptionSummarygetHref()Hyperlink reference of the related entity.getId()Unique identifier of the related entity.getName()Name of the related entity.inthashCode()voidsetAtbaseType(String atbaseType) voidsetAtreferredType(String atreferredType) voidsetAtschemaLocation(String atschemaLocation) voidvoidsetConsumptionSummary(List<ConsumptionSummary> consumptionSummary) voidvoidvoidtoString()
-
Constructor Details
-
UsageConsumptionServiceRef
public UsageConsumptionServiceRef()
-
-
Method Details
-
id
-
getId
Unique identifier of the related entity.- Returns:
- id
-
setId
-
href
-
getHref
Hyperlink reference of the related entity.- Returns:
- href
-
setHref
-
name
-
getName
Name of the related entity.- Returns:
- name
-
setName
-
consumptionSummary
-
addConsumptionSummaryItem
public UsageConsumptionServiceRef addConsumptionSummaryItem(ConsumptionSummary consumptionSummaryItem) -
getConsumptionSummary
Get consumptionSummary- Returns:
- consumptionSummary
-
setConsumptionSummary
-
atbaseType
-
getAtbaseType
When sub-classing, this defines the super-class- Returns:
- atbaseType
-
setAtbaseType
-
atschemaLocation
-
getAtschemaLocation
A URI to a JSON-Schema file that defines additional attributes and relationships- Returns:
- atschemaLocation
-
setAtschemaLocation
-
attype
-
getAttype
When sub-classing, this defines the sub-class entity name- Returns:
- attype
-
setAttype
-
atreferredType
-
getAtreferredType
The actual type of the target instance when needed for disambiguation.- Returns:
- atreferredType
-
setAtreferredType
-
equals
-
hashCode
public int hashCode() -
toString
-