Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Generated from cef6f97615ded43f65dab5eda4a5837d5ec45621
Add Capabilities to stable version, Modify ApplicationType and AccessMode to Enum.
In order to be consistent with the response from RP side, add suppression for DefinitionsPropertiesNamesCamelCase
  • Loading branch information
AutorestCI committed Jul 19, 2019
commit 6f86d543430bfe486d5f5462be9fdaa76bdbd3dd
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,64 @@
* The regional quota capability.
*/
public class QuotaCapability {
/**
* The number of cores used in the subscription.
*/
@JsonProperty(value = "cores_used")
private Long coresUsed;

/**
* The number of cores that the subscription allowed.
*/
@JsonProperty(value = "max_cores_allowed")
private Long maxCoresAllowed;

/**
* The list of region quota capabilities.
*/
@JsonProperty(value = "regionalQuotas")
private List<RegionalQuotaCapability> regionalQuotas;

/**
* Get the number of cores used in the subscription.
*
* @return the coresUsed value
*/
public Long coresUsed() {
return this.coresUsed;
}

/**
* Set the number of cores used in the subscription.
*
* @param coresUsed the coresUsed value to set
* @return the QuotaCapability object itself.
*/
public QuotaCapability withCoresUsed(Long coresUsed) {
this.coresUsed = coresUsed;
return this;
}

/**
* Get the number of cores that the subscription allowed.
*
* @return the maxCoresAllowed value
*/
public Long maxCoresAllowed() {
return this.maxCoresAllowed;
}

/**
* Set the number of cores that the subscription allowed.
*
* @param maxCoresAllowed the maxCoresAllowed value to set
* @return the QuotaCapability object itself.
*/
public QuotaCapability withMaxCoresAllowed(Long maxCoresAllowed) {
this.maxCoresAllowed = maxCoresAllowed;
return this;
}

/**
* Get the list of region quota capabilities.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,64 @@
* The regional quota capability.
*/
public class QuotaCapability {
/**
* The number of cores used in the subscription.
*/
@JsonProperty(value = "cores_used")
private Long coresUsed;

/**
* The number of cores that the subscription allowed.
*/
@JsonProperty(value = "max_cores_allowed")
private Long maxCoresAllowed;

/**
* The list of region quota capabilities.
*/
@JsonProperty(value = "regionalQuotas")
private List<RegionalQuotaCapability> regionalQuotas;

/**
* Get the number of cores used in the subscription.
*
* @return the coresUsed value
*/
public Long coresUsed() {
return this.coresUsed;
}

/**
* Set the number of cores used in the subscription.
*
* @param coresUsed the coresUsed value to set
* @return the QuotaCapability object itself.
*/
public QuotaCapability withCoresUsed(Long coresUsed) {
this.coresUsed = coresUsed;
return this;
}

/**
* Get the number of cores that the subscription allowed.
*
* @return the maxCoresAllowed value
*/
public Long maxCoresAllowed() {
return this.maxCoresAllowed;
}

/**
* Set the number of cores that the subscription allowed.
*
* @param maxCoresAllowed the maxCoresAllowed value to set
* @return the QuotaCapability object itself.
*/
public QuotaCapability withMaxCoresAllowed(Long maxCoresAllowed) {
this.maxCoresAllowed = maxCoresAllowed;
return this;
}

/**
* Get the list of region quota capabilities.
*
Expand Down