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
Apr 30, 2020
1 parent
0b8e1f5
commit 75fe612
Showing
8 changed files
with
478 additions
and
1 deletion.
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
62 changes: 62 additions & 0 deletions
62
...in/java/com/microsoft/azure/management/appconfiguration/v2019_02_01_preview/KeyValue.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,62 @@ | ||
/** | ||
* 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.appconfiguration.v2019_02_01_preview; | ||
|
||
import com.microsoft.azure.arm.model.HasInner; | ||
import com.microsoft.azure.arm.resources.models.HasManager; | ||
import com.microsoft.azure.management.appconfiguration.v2019_02_01_preview.implementation.AppConfigurationManager; | ||
import com.microsoft.azure.management.appconfiguration.v2019_02_01_preview.implementation.KeyValueInner; | ||
import org.joda.time.DateTime; | ||
import java.util.Map; | ||
|
||
/** | ||
* Type representing KeyValue. | ||
*/ | ||
public interface KeyValue extends HasInner<KeyValueInner>, HasManager<AppConfigurationManager> { | ||
/** | ||
* @return the contentType value. | ||
*/ | ||
String contentType(); | ||
|
||
/** | ||
* @return the eTag value. | ||
*/ | ||
String eTag(); | ||
|
||
/** | ||
* @return the key value. | ||
*/ | ||
String keyVal(); | ||
|
||
/** | ||
* @return the label value. | ||
*/ | ||
String label(); | ||
|
||
/** | ||
* @return the lastModified value. | ||
*/ | ||
DateTime lastModified(); | ||
|
||
/** | ||
* @return the locked value. | ||
*/ | ||
Boolean locked(); | ||
|
||
/** | ||
* @return the tags value. | ||
*/ | ||
Map<String, String> tags(); | ||
|
||
/** | ||
* @return the value value. | ||
*/ | ||
String value(); | ||
|
||
} |
69 changes: 69 additions & 0 deletions
69
...crosoft/azure/management/appconfiguration/v2019_02_01_preview/ListKeyValueParameters.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,69 @@ | ||
/** | ||
* 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.appconfiguration.v2019_02_01_preview; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* The parameters used to list a configuration store key-value. | ||
*/ | ||
public class ListKeyValueParameters { | ||
/** | ||
* The key to retrieve. | ||
*/ | ||
@JsonProperty(value = "key", required = true) | ||
private String key; | ||
|
||
/** | ||
* The label of the key. | ||
*/ | ||
@JsonProperty(value = "label") | ||
private String label; | ||
|
||
/** | ||
* Get the key to retrieve. | ||
* | ||
* @return the key value | ||
*/ | ||
public String key() { | ||
return this.key; | ||
} | ||
|
||
/** | ||
* Set the key to retrieve. | ||
* | ||
* @param key the key value to set | ||
* @return the ListKeyValueParameters object itself. | ||
*/ | ||
public ListKeyValueParameters withKey(String key) { | ||
this.key = key; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the label of the key. | ||
* | ||
* @return the label value | ||
*/ | ||
public String label() { | ||
return this.label; | ||
} | ||
|
||
/** | ||
* Set the label of the key. | ||
* | ||
* @param label the label value to set | ||
* @return the ListKeyValueParameters object itself. | ||
*/ | ||
public ListKeyValueParameters withLabel(String label) { | ||
this.label = label; | ||
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
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
68 changes: 68 additions & 0 deletions
68
...ft/azure/management/appconfiguration/v2019_02_01_preview/implementation/KeyValueImpl.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,68 @@ | ||
/** | ||
* 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.appconfiguration.v2019_02_01_preview.implementation; | ||
|
||
import com.microsoft.azure.management.appconfiguration.v2019_02_01_preview.KeyValue; | ||
import com.microsoft.azure.arm.model.implementation.WrapperImpl; | ||
import org.joda.time.DateTime; | ||
import java.util.Map; | ||
|
||
class KeyValueImpl extends WrapperImpl<KeyValueInner> implements KeyValue { | ||
private final AppConfigurationManager manager; | ||
KeyValueImpl(KeyValueInner inner, AppConfigurationManager manager) { | ||
super(inner); | ||
this.manager = manager; | ||
} | ||
|
||
@Override | ||
public AppConfigurationManager manager() { | ||
return this.manager; | ||
} | ||
|
||
@Override | ||
public String contentType() { | ||
return this.inner().contentType(); | ||
} | ||
|
||
@Override | ||
public String eTag() { | ||
return this.inner().eTag(); | ||
} | ||
|
||
@Override | ||
public String keyVal() { | ||
return this.inner().key(); | ||
} | ||
|
||
@Override | ||
public String label() { | ||
return this.inner().label(); | ||
} | ||
|
||
@Override | ||
public DateTime lastModified() { | ||
return this.inner().lastModified(); | ||
} | ||
|
||
@Override | ||
public Boolean locked() { | ||
return this.inner().locked(); | ||
} | ||
|
||
@Override | ||
public Map<String, String> tags() { | ||
return this.inner().tags(); | ||
} | ||
|
||
@Override | ||
public String value() { | ||
return this.inner().value(); | ||
} | ||
|
||
} |
Oops, something went wrong.