Skip to content

Commit

Permalink
[AutoPR sql/resource-manager] Adding new value to VA baseline name (#199
Browse files Browse the repository at this point in the history
)

* Generated from 03645a856ba34f572618832814b410d8e2410ba2

Adding new value to VA baseline name

Adding new value to VA baseline name

* Generated from c9946efbfaf9f6a9f7765878a337784756ce951c

Fix typo

Fix typo

* Generated from c3621b01ece4897d91763a7e4ba8d1e29d4d6832

Updating VulnerabilityAssessmentPolicyBaselineName

* Generated from 5c8646bff054ea42bb05bef708e3c66c7d005c2e

Fixed all comments
  • Loading branch information
AutorestCI authored May 31, 2018
1 parent 8ece61d commit 81577a3
Show file tree
Hide file tree
Showing 2 changed files with 99 additions and 27 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/**
* 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.sql;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

/**
* Defines values for VulnerabilityAssessmentPolicyBaselineName.
*/
public enum VulnerabilityAssessmentPolicyBaselineName {
/** Enum value master. */
MASTER("master"),

/** Enum value default. */
DEFAULT("default");

/** The actual serialized value for a VulnerabilityAssessmentPolicyBaselineName instance. */
private String value;

VulnerabilityAssessmentPolicyBaselineName(String value) {
this.value = value;
}

/**
* Parses a serialized value to a VulnerabilityAssessmentPolicyBaselineName instance.
*
* @param value the serialized value to parse.
* @return the parsed VulnerabilityAssessmentPolicyBaselineName object, or null if unable to parse.
*/
@JsonCreator
public static VulnerabilityAssessmentPolicyBaselineName fromString(String value) {
VulnerabilityAssessmentPolicyBaselineName[] items = VulnerabilityAssessmentPolicyBaselineName.values();
for (VulnerabilityAssessmentPolicyBaselineName item : items) {
if (item.toString().equalsIgnoreCase(value)) {
return item;
}
}
return null;
}

@JsonValue
@Override
public String toString() {
return this.value;
}
}
Loading

0 comments on commit 81577a3

Please sign in to comment.