-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 181e5c844e7d19a3138cc3635d0085a1ac3174bd (#346)
Fix swagger->sdk tag for go
- Loading branch information
1 parent
faa6f0b
commit 95a467e
Showing
39 changed files
with
5,991 additions
and
0 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
azure-mgmt-mysql/src/main/java/com/microsoft/azure/management/mysql/GeoRedundantBackup.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,41 @@ | ||
/** | ||
* 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.mysql; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for GeoRedundantBackup. | ||
*/ | ||
public final class GeoRedundantBackup extends ExpandableStringEnum<GeoRedundantBackup> { | ||
/** Static value Enabled for GeoRedundantBackup. */ | ||
public static final GeoRedundantBackup ENABLED = fromString("Enabled"); | ||
|
||
/** Static value Disabled for GeoRedundantBackup. */ | ||
public static final GeoRedundantBackup DISABLED = fromString("Disabled"); | ||
|
||
/** | ||
* Creates or finds a GeoRedundantBackup from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding GeoRedundantBackup | ||
*/ | ||
@JsonCreator | ||
public static GeoRedundantBackup fromString(String name) { | ||
return fromString(name, GeoRedundantBackup.class); | ||
} | ||
|
||
/** | ||
* @return known GeoRedundantBackup values | ||
*/ | ||
public static Collection<GeoRedundantBackup> values() { | ||
return values(GeoRedundantBackup.class); | ||
} | ||
} |
80 changes: 80 additions & 0 deletions
80
azure-mgmt-mysql/src/main/java/com/microsoft/azure/management/mysql/Operation.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,80 @@ | ||
/** | ||
* 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.mysql; | ||
|
||
import java.util.Map; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* REST API operation definition. | ||
*/ | ||
public class Operation { | ||
/** | ||
* The name of the operation being performed on this particular object. | ||
*/ | ||
@JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY) | ||
private String name; | ||
|
||
/** | ||
* The localized display information for this particular operation or | ||
* action. | ||
*/ | ||
@JsonProperty(value = "display", access = JsonProperty.Access.WRITE_ONLY) | ||
private OperationDisplay display; | ||
|
||
/** | ||
* The intended executor of the operation. Possible values include: | ||
* 'NotSpecified', 'user', 'system'. | ||
*/ | ||
@JsonProperty(value = "origin", access = JsonProperty.Access.WRITE_ONLY) | ||
private OperationOrigin origin; | ||
|
||
/** | ||
* Additional descriptions for the operation. | ||
*/ | ||
@JsonProperty(value = "properties", access = JsonProperty.Access.WRITE_ONLY) | ||
private Map<String, Object> properties; | ||
|
||
/** | ||
* Get the name value. | ||
* | ||
* @return the name value | ||
*/ | ||
public String name() { | ||
return this.name; | ||
} | ||
|
||
/** | ||
* Get the display value. | ||
* | ||
* @return the display value | ||
*/ | ||
public OperationDisplay display() { | ||
return this.display; | ||
} | ||
|
||
/** | ||
* Get the origin value. | ||
* | ||
* @return the origin value | ||
*/ | ||
public OperationOrigin origin() { | ||
return this.origin; | ||
} | ||
|
||
/** | ||
* Get the properties value. | ||
* | ||
* @return the properties value | ||
*/ | ||
public Map<String, Object> properties() { | ||
return this.properties; | ||
} | ||
|
||
} |
77 changes: 77 additions & 0 deletions
77
azure-mgmt-mysql/src/main/java/com/microsoft/azure/management/mysql/OperationDisplay.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,77 @@ | ||
/** | ||
* 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.mysql; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Display metadata associated with the operation. | ||
*/ | ||
public class OperationDisplay { | ||
/** | ||
* Operation resource provider name. | ||
*/ | ||
@JsonProperty(value = "provider", access = JsonProperty.Access.WRITE_ONLY) | ||
private String provider; | ||
|
||
/** | ||
* Resource on which the operation is performed. | ||
*/ | ||
@JsonProperty(value = "resource", access = JsonProperty.Access.WRITE_ONLY) | ||
private String resource; | ||
|
||
/** | ||
* Localized friendly name for the operation. | ||
*/ | ||
@JsonProperty(value = "operation", access = JsonProperty.Access.WRITE_ONLY) | ||
private String operation; | ||
|
||
/** | ||
* Operation description. | ||
*/ | ||
@JsonProperty(value = "description", access = JsonProperty.Access.WRITE_ONLY) | ||
private String description; | ||
|
||
/** | ||
* Get the provider value. | ||
* | ||
* @return the provider value | ||
*/ | ||
public String provider() { | ||
return this.provider; | ||
} | ||
|
||
/** | ||
* Get the resource value. | ||
* | ||
* @return the resource value | ||
*/ | ||
public String resource() { | ||
return this.resource; | ||
} | ||
|
||
/** | ||
* Get the operation value. | ||
* | ||
* @return the operation value | ||
*/ | ||
public String operation() { | ||
return this.operation; | ||
} | ||
|
||
/** | ||
* Get the description value. | ||
* | ||
* @return the description value | ||
*/ | ||
public String description() { | ||
return this.description; | ||
} | ||
|
||
} |
44 changes: 44 additions & 0 deletions
44
azure-mgmt-mysql/src/main/java/com/microsoft/azure/management/mysql/OperationOrigin.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,44 @@ | ||
/** | ||
* 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.mysql; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for OperationOrigin. | ||
*/ | ||
public final class OperationOrigin extends ExpandableStringEnum<OperationOrigin> { | ||
/** Static value NotSpecified for OperationOrigin. */ | ||
public static final OperationOrigin NOT_SPECIFIED = fromString("NotSpecified"); | ||
|
||
/** Static value user for OperationOrigin. */ | ||
public static final OperationOrigin USER = fromString("user"); | ||
|
||
/** Static value system for OperationOrigin. */ | ||
public static final OperationOrigin SYSTEM = fromString("system"); | ||
|
||
/** | ||
* Creates or finds a OperationOrigin from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding OperationOrigin | ||
*/ | ||
@JsonCreator | ||
public static OperationOrigin fromString(String name) { | ||
return fromString(name, OperationOrigin.class); | ||
} | ||
|
||
/** | ||
* @return known OperationOrigin values | ||
*/ | ||
public static Collection<OperationOrigin> values() { | ||
return values(OperationOrigin.class); | ||
} | ||
} |
Oops, something went wrong.