public class ShareItemListRequest extends Object implements Serializable
ItemList
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
ShareItemListRequest.Target |
Constructor and Description |
---|
ShareItemListRequest() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getListId()
The ID of the item list being shared.
|
String |
getRole()
The role that the targets this item list is being shared with will be granted.
|
Set<ShareItemListRequest.Target> |
getTargets()
Describes who this list is being shared with.
|
String |
getValueType()
The type of values that this list will be shared with (e.g email address, customer ID, etc.).
|
int |
hashCode() |
void |
setListId(String listId)
The ID of the item list being shared.
|
void |
setRole(String role)
The role that the targets this item list is being shared with will be granted.
|
void |
setTargets(Set<ShareItemListRequest.Target> targets)
Describes who this list is being shared with.
|
void |
setValueType(String valueType)
The type of values that this list will be shared with (e.g email address, customer ID, etc.).
|
String |
toString() |
public String getListId()
public String getValueType()
ShareItemListRequest.Target.value
. See ItemListAccessRule.getType()
for how
this is used. See
DefaultItemListAccessRuleType
for the
default supported values.public String getRole()
ItemListAccessRule.getRole()
for how this is used. See
DefaultItemListAccessRuleRole
for the
default supported values.public Set<ShareItemListRequest.Target> getTargets()
public void setListId(String listId)
listId
- the ID of the item list being sharedpublic void setValueType(String valueType)
ShareItemListRequest.Target.value
. See ItemListAccessRule.getType()
for how
this is used. See
DefaultItemListAccessRuleType
for the
default supported values.valueType
- the type of value this item list is being shared withpublic void setRole(String role)
ItemListAccessRule.getRole()
for how this is used. See
DefaultItemListAccessRuleRole
for the
default supported values.role
- the role that the targets this item list is being shared with will be grantedpublic void setTargets(Set<ShareItemListRequest.Target> targets)
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.