Skip to content

Commit

Permalink
[AutoPR web/resource-manager] Adding BillingMeters API (#3)
Browse files Browse the repository at this point in the history
* 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
AutorestCI authored Mar 30, 2018
1 parent c51b912 commit 0f947be
Show file tree
Hide file tree
Showing 4 changed files with 711 additions and 0 deletions.
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;
}

}
Loading

0 comments on commit 0f947be

Please sign in to comment.