Class Reservation
java.lang.Object
com.microsoft.store.partnercenter.models.ResourceBase
com.microsoft.store.partnercenter.models.ResourceBaseWithLinks<StandardResourceLinks>
com.microsoft.store.partnercenter.models.entitlements.Reservation
public class Reservation extends ResourceBaseWithLinks<StandardResourceLinks>
Class that represents a reservation.
-
Constructor Summary
Constructors Constructor Description Reservation() -
Method Summary
Modifier and Type Method Description Iterator<String>getAppliedScopes()Gets the applied scopes for the reservation.StringgetDisplayName()Gets the display name for the reservation.org.joda.time.DateTimegetEffectiveDateTime()Gets the effective date and time.org.joda.time.DateTimegetExpiryDateTime()Gets the expiry date and time.StringgetProvisioningState()Gets the provisioning state for the reservation.IntegergetQuantity()Gets the quantity.StringgetReservationId()Gets the identifier for the reservation.StringgetScopeType()Gets the scope type for the reservation.voidsetAppliedScopes(Iterator<String> value)Sets the applied scopes for the reservation.voidsetDisplayName(String value)Sets the display name for the reservation.voidsetEffectDateTime(org.joda.time.DateTime value)Sets the effective date and time.voidsetExpiryDateTime(org.joda.time.DateTime value)Sets the expiry date and time.voidsetProvisioningState(String value)Sets the provisioning state for the reservation.voidsetQuantity(Integer value)Sets the quantity.voidsetReservationId(String value)Sets the identifier for the reservation.voidsetScopeType(String value)Sets the scope type for the reservation.Methods inherited from class com.microsoft.store.partnercenter.models.ResourceBaseWithLinks
getLinks, setLinks
-
Constructor Details
-
Reservation
public Reservation()
-
-
Method Details
-
getAppliedScopes
Gets the applied scopes for the reservation.- Returns:
- The applied scopes for the reservation.
-
setAppliedScopes
Sets the applied scopes for the reservation.- Parameters:
value- The applied scopes for the reservation.
-
getDisplayName
Gets the display name for the reservation.- Returns:
- The display for the reservation.
-
setDisplayName
Sets the display name for the reservation.- Parameters:
value- The display name for the reservation.
-
getEffectiveDateTime
public org.joda.time.DateTime getEffectiveDateTime()Gets the effective date and time.- Returns:
- The effective date and time for the reservation.
-
setEffectDateTime
public void setEffectDateTime(org.joda.time.DateTime value)Sets the effective date and time.- Parameters:
value- The effective date and time for the reservation.
-
getExpiryDateTime
public org.joda.time.DateTime getExpiryDateTime()Gets the expiry date and time.- Returns:
- The expiry date and time for the reservation.
-
setExpiryDateTime
public void setExpiryDateTime(org.joda.time.DateTime value)Sets the expiry date and time.- Parameters:
value- The expiry date and time for the reservation.
-
getProvisioningState
Gets the provisioning state for the reservation.- Returns:
- The provisioning state for the reservation.
-
setProvisioningState
Sets the provisioning state for the reservation.- Parameters:
value- The provisioning state for the reservation.
-
getQuantity
Gets the quantity.- Returns:
- The quantity for the reservation.
-
setQuantity
Sets the quantity.- Parameters:
value- The quantity for the reservation.
-
getReservationId
Gets the identifier for the reservation.- Returns:
- The identifier for the reservation.
-
setReservationId
Sets the identifier for the reservation.- Parameters:
value- The identifier for the reservation.
-
getScopeType
Gets the scope type for the reservation.- Returns:
- The scope type for the reservation.
-
setScopeType
Sets the scope type for the reservation.- Parameters:
value- The scope type for the reservation.
-