added termunit support (#36)
* added termunit support * updated to new hash files from openapispec project * undo the last commit * updated back to main --------- Co-authored-by: Santhosh Bomma <sbomma@microsoft.com>
This commit is contained in:
Родитель
bfe5fc7bdd
Коммит
17b18c0f27
|
@ -21,7 +21,7 @@ RUN wget -O java.deb https://cdn.azul.com/zulu/bin/zulu11.41.23-ca-jdk11.0.8-lin
|
|||
dpkg -i java.deb
|
||||
|
||||
# NodeJS && Java
|
||||
RUN curl -sL https://deb.nodesource.com/setup_13.x | bash - && \
|
||||
RUN curl -sL https://deb.nodesource.com/setup_19.x | bash - && \
|
||||
apt-get update && apt-get install -y nodejs && \
|
||||
npm install npm@latest -g
|
||||
|
||||
|
|
|
@ -26,7 +26,10 @@ public enum OperationActionEnum {
|
|||
SUSPEND("Suspend"),
|
||||
|
||||
/** Enum value Reinstate. */
|
||||
REINSTATE("Reinstate");
|
||||
REINSTATE("Reinstate"),
|
||||
|
||||
/** Enum value Renew. */
|
||||
RENEW("Renew");
|
||||
|
||||
/** The actual serialized value for a OperationActionEnum instance. */
|
||||
private final String value;
|
||||
|
|
|
@ -15,6 +15,12 @@ import java.time.OffsetDateTime;
|
|||
/** The SubscriptionTerm model. */
|
||||
@Fluent
|
||||
public final class SubscriptionTerm {
|
||||
/*
|
||||
* The termUnit property.
|
||||
*/
|
||||
@JsonProperty(value = "termUnit")
|
||||
private TermUnitEnum termUnit;
|
||||
|
||||
/*
|
||||
* The startDate property.
|
||||
*/
|
||||
|
@ -27,6 +33,26 @@ public final class SubscriptionTerm {
|
|||
@JsonProperty(value = "endDate")
|
||||
private OffsetDateTime endDate;
|
||||
|
||||
/**
|
||||
* Get the termUnit property: The termUnit property.
|
||||
*
|
||||
* @return the termUnit value.
|
||||
*/
|
||||
public TermUnitEnum getTermUnit() {
|
||||
return this.termUnit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the termUnit property: The termUnit property.
|
||||
*
|
||||
* @param termUnit the termUnit value to set.
|
||||
* @return the SubscriptionTerm object itself.
|
||||
*/
|
||||
public SubscriptionTerm setTermUnit(TermUnitEnum termUnit) {
|
||||
this.termUnit = termUnit;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the startDate property: The startDate property.
|
||||
*
|
||||
|
|
Загрузка…
Ссылка в новой задаче