public class OwnerRequestBody extends AssetOwnerOMASAPIRequestBody
| Constructor and Description |
|---|
OwnerRequestBody()
Default constructor
|
OwnerRequestBody(OwnerRequestBody template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
|
String |
getOwnerId()
Return the owner Id.
|
OwnerType |
getOwnerType()
Return the type of owner.
|
int |
hashCode()
Return hash code for this object
|
void |
setOwnerId(String ownerId)
Set up the owner id.
|
void |
setOwnerType(OwnerType ownerType)
Set up the type of owner.
|
String |
toString()
JSON-style toString.
|
public OwnerRequestBody()
public OwnerRequestBody(OwnerRequestBody template)
template - object to copypublic OwnerType getOwnerType()
public void setOwnerType(OwnerType ownerType)
ownerType - stringpublic String getOwnerId()
public void setOwnerId(String ownerId)
ownerId - identifier.public String toString()
toString in class AssetOwnerOMASAPIRequestBodypublic boolean equals(Object objectToCompare)
Copyright © 2018–2020 ODPi. All rights reserved.