-
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 c0f3031b6922d42f5f194bc965adc422fd0679c1 (#263)
Adding scoping to error suppressions
- Loading branch information
1 parent
4a5f576
commit 2e717eb
Showing
9 changed files
with
966 additions
and
145 deletions.
There are no files selected for viewing
95 changes: 95 additions & 0 deletions
95
azure-mgmt-dns/src/main/java/com/microsoft/azure/management/dns/CaaRecord.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,95 @@ | ||
/** | ||
* 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.dns; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* A CAA record. | ||
*/ | ||
public class CaaRecord { | ||
/** | ||
* The flags for this CAA record as an integer between 0 and 255. | ||
*/ | ||
@JsonProperty(value = "flags") | ||
private Integer flags; | ||
|
||
/** | ||
* The tag for this CAA record. | ||
*/ | ||
@JsonProperty(value = "tag") | ||
private String tag; | ||
|
||
/** | ||
* The value for this CAA record. | ||
*/ | ||
@JsonProperty(value = "value") | ||
private String value; | ||
|
||
/** | ||
* Get the flags value. | ||
* | ||
* @return the flags value | ||
*/ | ||
public Integer flags() { | ||
return this.flags; | ||
} | ||
|
||
/** | ||
* Set the flags value. | ||
* | ||
* @param flags the flags value to set | ||
* @return the CaaRecord object itself. | ||
*/ | ||
public CaaRecord withFlags(Integer flags) { | ||
this.flags = flags; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the tag value. | ||
* | ||
* @return the tag value | ||
*/ | ||
public String tag() { | ||
return this.tag; | ||
} | ||
|
||
/** | ||
* Set the tag value. | ||
* | ||
* @param tag the tag value to set | ||
* @return the CaaRecord object itself. | ||
*/ | ||
public CaaRecord withTag(String tag) { | ||
this.tag = tag; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the value value. | ||
* | ||
* @return the value value | ||
*/ | ||
public String value() { | ||
return this.value; | ||
} | ||
|
||
/** | ||
* Set the value value. | ||
* | ||
* @param value the value value to set | ||
* @return the CaaRecord object itself. | ||
*/ | ||
public CaaRecord withValue(String value) { | ||
this.value = value; | ||
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
43 changes: 43 additions & 0 deletions
43
azure-mgmt-dns/src/main/java/com/microsoft/azure/management/dns/SubResource.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,43 @@ | ||
/** | ||
* 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.dns; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* A reference to a another resource. | ||
*/ | ||
public class SubResource { | ||
/** | ||
* Resource Id. | ||
*/ | ||
@JsonProperty(value = "id") | ||
private String id; | ||
|
||
/** | ||
* Get the id value. | ||
* | ||
* @return the id value | ||
*/ | ||
public String id() { | ||
return this.id; | ||
} | ||
|
||
/** | ||
* Set the id value. | ||
* | ||
* @param id the id value to set | ||
* @return the SubResource object itself. | ||
*/ | ||
public SubResource withId(String id) { | ||
this.id = id; | ||
return this; | ||
} | ||
|
||
} |
53 changes: 53 additions & 0 deletions
53
azure-mgmt-dns/src/main/java/com/microsoft/azure/management/dns/ZoneType.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,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.dns; | ||
|
||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.fasterxml.jackson.annotation.JsonValue; | ||
|
||
/** | ||
* Defines values for ZoneType. | ||
*/ | ||
public enum ZoneType { | ||
/** Enum value Public. */ | ||
PUBLIC("Public"), | ||
|
||
/** Enum value Private. */ | ||
PRIVATE("Private"); | ||
|
||
/** The actual serialized value for a ZoneType instance. */ | ||
private String value; | ||
|
||
ZoneType(String value) { | ||
this.value = value; | ||
} | ||
|
||
/** | ||
* Parses a serialized value to a ZoneType instance. | ||
* | ||
* @param value the serialized value to parse. | ||
* @return the parsed ZoneType object, or null if unable to parse. | ||
*/ | ||
@JsonCreator | ||
public static ZoneType fromString(String value) { | ||
ZoneType[] items = ZoneType.values(); | ||
for (ZoneType item : items) { | ||
if (item.toString().equalsIgnoreCase(value)) { | ||
return item; | ||
} | ||
} | ||
return null; | ||
} | ||
|
||
@JsonValue | ||
@Override | ||
public String toString() { | ||
return this.value; | ||
} | ||
} |
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
Oops, something went wrong.