forked from Azure/azure-libraries-for-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR web/resource-manager] Adding BillingMeters API (#3)
* Generated from 346651741dcafd1a91d0741d726aef7cdac29c4d Adding BillingMeters API * Generated from 2c9ced71b2b53f7039ec9ddbcbe4f23f05897e89 Adding reference to readme.md * Generated from 1723dbe3e971a273cd0d143700e69c20912f9bce Merge branch 'master' of https://github.com/andreyse/azure-rest-api-specs * Generated from 1723dbe3e971a273cd0d143700e69c20912f9bce Merge branch 'master' of https://github.com/andreyse/azure-rest-api-specs
- Loading branch information
1 parent
c51b912
commit 0f947be
Showing
4 changed files
with
711 additions
and
0 deletions.
There are no files selected for viewing
151 changes: 151 additions & 0 deletions
151
...eb/src/main/java/com/microsoft/azure/management/web/implementation/BillingMeterInner.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,151 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.web.implementation; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.microsoft.rest.serializer.JsonFlatten; | ||
import com.microsoft.azure.management.web.ProxyOnlyResource; | ||
|
||
/** | ||
* App Service billing entity that contains information about meter which the | ||
* Azure billing system utilizes to charge users for services. | ||
*/ | ||
@JsonFlatten | ||
public class BillingMeterInner extends ProxyOnlyResource { | ||
/** | ||
* Meter GUID onboarded in Commerce. | ||
*/ | ||
@JsonProperty(value = "properties.meterId") | ||
private String meterId; | ||
|
||
/** | ||
* Azure Location of billable resource. | ||
*/ | ||
@JsonProperty(value = "properties.billingLocation") | ||
private String billingLocation; | ||
|
||
/** | ||
* Short Name from App Service Azure pricing Page. | ||
*/ | ||
@JsonProperty(value = "properties.shortName") | ||
private String shortName; | ||
|
||
/** | ||
* Friendly name of the meter. | ||
*/ | ||
@JsonProperty(value = "properties.friendlyName") | ||
private String friendlyName; | ||
|
||
/** | ||
* App Service resource type meter used for. | ||
*/ | ||
@JsonProperty(value = "properties.resourceType") | ||
private String resourceType; | ||
|
||
/** | ||
* Get the meterId value. | ||
* | ||
* @return the meterId value | ||
*/ | ||
public String meterId() { | ||
return this.meterId; | ||
} | ||
|
||
/** | ||
* Set the meterId value. | ||
* | ||
* @param meterId the meterId value to set | ||
* @return the BillingMeterInner object itself. | ||
*/ | ||
public BillingMeterInner withMeterId(String meterId) { | ||
this.meterId = meterId; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the billingLocation value. | ||
* | ||
* @return the billingLocation value | ||
*/ | ||
public String billingLocation() { | ||
return this.billingLocation; | ||
} | ||
|
||
/** | ||
* Set the billingLocation value. | ||
* | ||
* @param billingLocation the billingLocation value to set | ||
* @return the BillingMeterInner object itself. | ||
*/ | ||
public BillingMeterInner withBillingLocation(String billingLocation) { | ||
this.billingLocation = billingLocation; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the shortName value. | ||
* | ||
* @return the shortName value | ||
*/ | ||
public String shortName() { | ||
return this.shortName; | ||
} | ||
|
||
/** | ||
* Set the shortName value. | ||
* | ||
* @param shortName the shortName value to set | ||
* @return the BillingMeterInner object itself. | ||
*/ | ||
public BillingMeterInner withShortName(String shortName) { | ||
this.shortName = shortName; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the friendlyName value. | ||
* | ||
* @return the friendlyName value | ||
*/ | ||
public String friendlyName() { | ||
return this.friendlyName; | ||
} | ||
|
||
/** | ||
* Set the friendlyName value. | ||
* | ||
* @param friendlyName the friendlyName value to set | ||
* @return the BillingMeterInner object itself. | ||
*/ | ||
public BillingMeterInner withFriendlyName(String friendlyName) { | ||
this.friendlyName = friendlyName; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the resourceType value. | ||
* | ||
* @return the resourceType value | ||
*/ | ||
public String resourceType() { | ||
return this.resourceType; | ||
} | ||
|
||
/** | ||
* Set the resourceType value. | ||
* | ||
* @param resourceType the resourceType value to set | ||
* @return the BillingMeterInner object itself. | ||
*/ | ||
public BillingMeterInner withResourceType(String resourceType) { | ||
this.resourceType = resourceType; | ||
return this; | ||
} | ||
|
||
} |
Oops, something went wrong.