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 24031 in Azure/azure-rest-api-specs
Merge 19b08347e46ac52735822b314be1d65588deee24 into 173bb3b6fd5b1809fdbf347f67fccfa0440ac126
- Loading branch information
SDKAuto
committed
May 17, 2023
1 parent
4ee868f
commit 27cd86e
Showing
70 changed files
with
469 additions
and
2,733 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
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
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
54 changes: 54 additions & 0 deletions
54
...n/java/com/azure/resourcemanager/elastic/fluent/models/ElasticVersionListFormatInner.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,54 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.elastic.fluent.models; | ||
|
||
import com.azure.core.annotation.Fluent; | ||
import com.azure.resourcemanager.elastic.models.ElasticVersionListProperties; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** Elastic Version List Format. */ | ||
@Fluent | ||
public final class ElasticVersionListFormatInner { | ||
/* | ||
* Elastic Version Properties | ||
*/ | ||
@JsonProperty(value = "properties") | ||
private ElasticVersionListProperties properties; | ||
|
||
/** Creates an instance of ElasticVersionListFormatInner class. */ | ||
public ElasticVersionListFormatInner() { | ||
} | ||
|
||
/** | ||
* Get the properties property: Elastic Version Properties. | ||
* | ||
* @return the properties value. | ||
*/ | ||
public ElasticVersionListProperties properties() { | ||
return this.properties; | ||
} | ||
|
||
/** | ||
* Set the properties property: Elastic Version Properties. | ||
* | ||
* @param properties the properties value to set. | ||
* @return the ElasticVersionListFormatInner object itself. | ||
*/ | ||
public ElasticVersionListFormatInner withProperties(ElasticVersionListProperties properties) { | ||
this.properties = properties; | ||
return this; | ||
} | ||
|
||
/** | ||
* Validates the instance. | ||
* | ||
* @throws IllegalArgumentException thrown if the instance is not valid. | ||
*/ | ||
public void validate() { | ||
if (properties() != null) { | ||
properties().validate(); | ||
} | ||
} | ||
} |
77 changes: 0 additions & 77 deletions
77
...ava/com/azure/resourcemanager/elastic/fluent/models/ElasticVersionsListResponseInner.java
This file was deleted.
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
33 changes: 33 additions & 0 deletions
33
...n/java/com/azure/resourcemanager/elastic/implementation/ElasticVersionListFormatImpl.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,33 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.elastic.implementation; | ||
|
||
import com.azure.resourcemanager.elastic.fluent.models.ElasticVersionListFormatInner; | ||
import com.azure.resourcemanager.elastic.models.ElasticVersionListFormat; | ||
import com.azure.resourcemanager.elastic.models.ElasticVersionListProperties; | ||
|
||
public final class ElasticVersionListFormatImpl implements ElasticVersionListFormat { | ||
private ElasticVersionListFormatInner innerObject; | ||
|
||
private final com.azure.resourcemanager.elastic.ElasticManager serviceManager; | ||
|
||
ElasticVersionListFormatImpl( | ||
ElasticVersionListFormatInner innerObject, com.azure.resourcemanager.elastic.ElasticManager serviceManager) { | ||
this.innerObject = innerObject; | ||
this.serviceManager = serviceManager; | ||
} | ||
|
||
public ElasticVersionListProperties properties() { | ||
return this.innerModel().properties(); | ||
} | ||
|
||
public ElasticVersionListFormatInner innerModel() { | ||
return this.innerObject; | ||
} | ||
|
||
private com.azure.resourcemanager.elastic.ElasticManager manager() { | ||
return this.serviceManager; | ||
} | ||
} |
Oops, something went wrong.