forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
SDK Automation
committed
May 9, 2020
1 parent
62005e7
commit 42fa0b0
Showing
4 changed files
with
151 additions
and
3 deletions.
There are no files selected for viewing
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
70 changes: 70 additions & 0 deletions
70
...crosoft/azure/management/eventgrid/v2020_04_01_preview/SkuDefinitionsForResourceType.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,70 @@ | ||
/** | ||
* 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.eventgrid.v2020_04_01_preview; | ||
|
||
import java.util.List; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Describes an EventGrid Resource Sku Definition. | ||
*/ | ||
public class SkuDefinitionsForResourceType { | ||
/** | ||
* The Resource Type applicable for the Sku. | ||
*/ | ||
@JsonProperty(value = "resourceType") | ||
private String resourceType; | ||
|
||
/** | ||
* The Sku pricing tiers for the resource type. | ||
*/ | ||
@JsonProperty(value = "skus") | ||
private List<ResourceSku> skus; | ||
|
||
/** | ||
* Get the Resource Type applicable for the Sku. | ||
* | ||
* @return the resourceType value | ||
*/ | ||
public String resourceType() { | ||
return this.resourceType; | ||
} | ||
|
||
/** | ||
* Set the Resource Type applicable for the Sku. | ||
* | ||
* @param resourceType the resourceType value to set | ||
* @return the SkuDefinitionsForResourceType object itself. | ||
*/ | ||
public SkuDefinitionsForResourceType withResourceType(String resourceType) { | ||
this.resourceType = resourceType; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the Sku pricing tiers for the resource type. | ||
* | ||
* @return the skus value | ||
*/ | ||
public List<ResourceSku> skus() { | ||
return this.skus; | ||
} | ||
|
||
/** | ||
* Set the Sku pricing tiers for the resource type. | ||
* | ||
* @param skus the skus value to set | ||
* @return the SkuDefinitionsForResourceType object itself. | ||
*/ | ||
public SkuDefinitionsForResourceType withSkus(List<ResourceSku> skus) { | ||
this.skus = skus; | ||
return this; | ||
} | ||
|
||
} |
70 changes: 70 additions & 0 deletions
70
...ure/management/eventgrid/v2020_04_01_preview/SkuDefinitionsForResourceTypeListResult.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,70 @@ | ||
/** | ||
* 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.eventgrid.v2020_04_01_preview; | ||
|
||
import java.util.List; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* List collection of Sku Definitions for each Resource Type. | ||
*/ | ||
public class SkuDefinitionsForResourceTypeListResult { | ||
/** | ||
* A collection of Sku Definitions for each Resource Type. | ||
*/ | ||
@JsonProperty(value = "value") | ||
private List<SkuDefinitionsForResourceType> value; | ||
|
||
/** | ||
* A link for the next page of Sku Definitions. | ||
*/ | ||
@JsonProperty(value = "nextLink") | ||
private String nextLink; | ||
|
||
/** | ||
* Get a collection of Sku Definitions for each Resource Type. | ||
* | ||
* @return the value value | ||
*/ | ||
public List<SkuDefinitionsForResourceType> value() { | ||
return this.value; | ||
} | ||
|
||
/** | ||
* Set a collection of Sku Definitions for each Resource Type. | ||
* | ||
* @param value the value value to set | ||
* @return the SkuDefinitionsForResourceTypeListResult object itself. | ||
*/ | ||
public SkuDefinitionsForResourceTypeListResult withValue(List<SkuDefinitionsForResourceType> value) { | ||
this.value = value; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get a link for the next page of Sku Definitions. | ||
* | ||
* @return the nextLink value | ||
*/ | ||
public String nextLink() { | ||
return this.nextLink; | ||
} | ||
|
||
/** | ||
* Set a link for the next page of Sku Definitions. | ||
* | ||
* @param nextLink the nextLink value to set | ||
* @return the SkuDefinitionsForResourceTypeListResult object itself. | ||
*/ | ||
public SkuDefinitionsForResourceTypeListResult withNextLink(String nextLink) { | ||
this.nextLink = nextLink; | ||
return this; | ||
} | ||
|
||
} |
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