forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 21716 in Azure/azure-rest-api-specs
Merge 2048e3a7658a74bd4b2ad3db372ce7de4fb13ec3 into 878fe925bc9f48b7b1451be3e6842bf44f938c34
- Loading branch information
SDKAuto
committed
Dec 2, 2022
1 parent
c381459
commit 77aff33
Showing
142 changed files
with
5,881 additions
and
3,772 deletions.
There are no files selected for viewing
4 changes: 3 additions & 1 deletion
4
sdk/cognitiveservices/azure-resourcemanager-cognitiveservices/CHANGELOG.md
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
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
351 changes: 315 additions & 36 deletions
351
sdk/cognitiveservices/azure-resourcemanager-cognitiveservices/SAMPLE.md
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
471 changes: 471 additions & 0 deletions
471
...c/main/java/com/azure/resourcemanager/cognitiveservices/fluent/CommitmentPlansClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
97 changes: 97 additions & 0 deletions
97
...esourcemanager/cognitiveservices/fluent/models/CommitmentPlanAccountAssociationInner.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,97 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.cognitiveservices.fluent.models; | ||
|
||
import com.azure.core.annotation.Fluent; | ||
import com.azure.core.management.ProxyResource; | ||
import com.azure.core.management.SystemData; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** The commitment plan association. */ | ||
@Fluent | ||
public final class CommitmentPlanAccountAssociationInner extends ProxyResource { | ||
/* | ||
* Resource Etag. | ||
*/ | ||
@JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY) | ||
private String etag; | ||
|
||
/* | ||
* Properties of Cognitive Services account commitment plan association. | ||
*/ | ||
@JsonProperty(value = "properties") | ||
private CommitmentPlanAccountAssociationProperties innerProperties; | ||
|
||
/* | ||
* Azure Resource Manager metadata containing createdBy and modifiedBy information. | ||
*/ | ||
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) | ||
private SystemData systemData; | ||
|
||
/** Creates an instance of CommitmentPlanAccountAssociationInner class. */ | ||
public CommitmentPlanAccountAssociationInner() { | ||
} | ||
|
||
/** | ||
* Get the etag property: Resource Etag. | ||
* | ||
* @return the etag value. | ||
*/ | ||
public String etag() { | ||
return this.etag; | ||
} | ||
|
||
/** | ||
* Get the innerProperties property: Properties of Cognitive Services account commitment plan association. | ||
* | ||
* @return the innerProperties value. | ||
*/ | ||
private CommitmentPlanAccountAssociationProperties innerProperties() { | ||
return this.innerProperties; | ||
} | ||
|
||
/** | ||
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. | ||
* | ||
* @return the systemData value. | ||
*/ | ||
public SystemData systemData() { | ||
return this.systemData; | ||
} | ||
|
||
/** | ||
* Get the accountId property: The Azure resource id of the account. | ||
* | ||
* @return the accountId value. | ||
*/ | ||
public String accountId() { | ||
return this.innerProperties() == null ? null : this.innerProperties().accountId(); | ||
} | ||
|
||
/** | ||
* Set the accountId property: The Azure resource id of the account. | ||
* | ||
* @param accountId the accountId value to set. | ||
* @return the CommitmentPlanAccountAssociationInner object itself. | ||
*/ | ||
public CommitmentPlanAccountAssociationInner withAccountId(String accountId) { | ||
if (this.innerProperties() == null) { | ||
this.innerProperties = new CommitmentPlanAccountAssociationProperties(); | ||
} | ||
this.innerProperties().withAccountId(accountId); | ||
return this; | ||
} | ||
|
||
/** | ||
* Validates the instance. | ||
* | ||
* @throws IllegalArgumentException thrown if the instance is not valid. | ||
*/ | ||
public void validate() { | ||
if (innerProperties() != null) { | ||
innerProperties().validate(); | ||
} | ||
} | ||
} |
50 changes: 50 additions & 0 deletions
50
...cemanager/cognitiveservices/fluent/models/CommitmentPlanAccountAssociationProperties.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,50 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.cognitiveservices.fluent.models; | ||
|
||
import com.azure.core.annotation.Fluent; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** The commitment plan account association properties. */ | ||
@Fluent | ||
public final class CommitmentPlanAccountAssociationProperties { | ||
/* | ||
* The Azure resource id of the account. | ||
*/ | ||
@JsonProperty(value = "accountId") | ||
private String accountId; | ||
|
||
/** Creates an instance of CommitmentPlanAccountAssociationProperties class. */ | ||
public CommitmentPlanAccountAssociationProperties() { | ||
} | ||
|
||
/** | ||
* Get the accountId property: The Azure resource id of the account. | ||
* | ||
* @return the accountId value. | ||
*/ | ||
public String accountId() { | ||
return this.accountId; | ||
} | ||
|
||
/** | ||
* Set the accountId property: The Azure resource id of the account. | ||
* | ||
* @param accountId the accountId value to set. | ||
* @return the CommitmentPlanAccountAssociationProperties object itself. | ||
*/ | ||
public CommitmentPlanAccountAssociationProperties withAccountId(String accountId) { | ||
this.accountId = accountId; | ||
return this; | ||
} | ||
|
||
/** | ||
* Validates the instance. | ||
* | ||
* @throws IllegalArgumentException thrown if the instance is not valid. | ||
*/ | ||
public void validate() { | ||
} | ||
} |
Oops, something went wrong.