Reservation Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. ResourceBase - com.
microsoft. store. partnercenter. models. ResourceBaseWithLinks<TLinks> - com.
microsoft. store. partnercenter. models. entitlements. Reservation
- com.
- com.
- com.
public class Reservation extends ResourceBaseWithLinks<StandardResourceLinks>
Class that represents a reservation.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| Reservation() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.util.Iterator<java.lang.String> |
getAppliedScopes()
Gets the applied scopes for the reservation. |
| java.lang.String |
getDisplayName()
Gets the display name for the reservation. |
| org.joda.time.DateTime |
getEffectiveDateTime()
Gets the effective date and time. |
| org.joda.time.DateTime |
getExpiryDateTime()
Gets the expiry date and time. |
| java.lang.String |
getProvisioningState()
Gets the provisioning state for the reservation. |
| java.lang.Integer |
getQuantity()
Gets the quantity. |
| java.lang.String |
getReservationId()
Gets the identifier for the reservation. |
| java.lang.String |
getScopeType()
Gets the scope type for the reservation. |
| void |
setAppliedScopes(Iterator<String> value)
Sets the applied scopes for the reservation. |
| void |
setDisplayName(String value)
Sets the display name for the reservation. |
| void |
setEffectDateTime(DateTime value)
Sets the effective date and time. |
| void |
setExpiryDateTime(DateTime value)
Sets the expiry date and time. |
| void |
setProvisioningState(String value)
Sets the provisioning state for the reservation. |
| void |
setQuantity(Integer value)
Sets the quantity. |
| void |
setReservationId(String value)
Sets the identifier for the reservation. |
| void |
setScopeType(String value)
Sets the scope type for the reservation. |
Inherited Members
Constructor Details
Reservation
public Reservation()
Method Details
getAppliedScopes
public Iterator
Gets the applied scopes for the reservation.
Returns:
getDisplayName
public String getDisplayName()
Gets the display name for the reservation.
Returns:
getEffectiveDateTime
public DateTime getEffectiveDateTime()
Gets the effective date and time.
Returns:
getExpiryDateTime
public DateTime getExpiryDateTime()
Gets the expiry date and time.
Returns:
getProvisioningState
public String getProvisioningState()
Gets the provisioning state for the reservation.
Returns:
getQuantity
public Integer getQuantity()
Gets the quantity.
Returns:
getReservationId
public String getReservationId()
Gets the identifier for the reservation.
Returns:
getScopeType
public String getScopeType()
Gets the scope type for the reservation.
Returns:
setAppliedScopes
public void setAppliedScopes(Iterator
Sets the applied scopes for the reservation.
Parameters:
setDisplayName
public void setDisplayName(String value)
Sets the display name for the reservation.
Parameters:
setEffectDateTime
public void setEffectDateTime(DateTime value)
Sets the effective date and time.
Parameters:
setExpiryDateTime
public void setExpiryDateTime(DateTime value)
Sets the expiry date and time.
Parameters:
setProvisioningState
public void setProvisioningState(String value)
Sets the provisioning state for the reservation.
Parameters:
setQuantity
public void setQuantity(Integer value)
Sets the quantity.
Parameters:
setReservationId
public void setReservationId(String value)
Sets the identifier for the reservation.
Parameters:
setScopeType
public void setScopeType(String value)
Sets the scope type for the reservation.
Parameters: