-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 3bcb5068dd38686779fe7f7aee5b11b6da83f680 (#2257)
Updating User Properties
- Loading branch information
1 parent
f8515fa
commit 326d3d9
Showing
2 changed files
with
73 additions
and
30 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
.../src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/UserProperty.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.datafactoryv2.v2018_06_01; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* User property. | ||
*/ | ||
public class UserProperty { | ||
/** | ||
* User proprety name. | ||
*/ | ||
@JsonProperty(value = "name", required = true) | ||
private String name; | ||
|
||
/** | ||
* User proprety value. Type: string (or Expression with resultType | ||
* string). | ||
*/ | ||
@JsonProperty(value = "value", required = true) | ||
private Object value; | ||
|
||
/** | ||
* Get user proprety name. | ||
* | ||
* @return the name value | ||
*/ | ||
public String name() { | ||
return this.name; | ||
} | ||
|
||
/** | ||
* Set user proprety name. | ||
* | ||
* @param name the name value to set | ||
* @return the UserProperty object itself. | ||
*/ | ||
public UserProperty withName(String name) { | ||
this.name = name; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get user proprety value. Type: string (or Expression with resultType string). | ||
* | ||
* @return the value value | ||
*/ | ||
public Object value() { | ||
return this.value; | ||
} | ||
|
||
/** | ||
* Set user proprety value. Type: string (or Expression with resultType string). | ||
* | ||
* @param value the value value to set | ||
* @return the UserProperty object itself. | ||
*/ | ||
public UserProperty withValue(Object value) { | ||
this.value = value; | ||
return this; | ||
} | ||
|
||
} |