-
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 2cfd4201a8ac6728ed176142e879fa13c9aff776
- Loading branch information
1 parent
4ff8e91
commit f7bd460
Showing
276 changed files
with
113,282 additions
and
0 deletions.
There are no files selected for viewing
123 changes: 123 additions & 0 deletions
123
azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/AbnormalTimePeriod.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,123 @@ | ||
/** | ||
* 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.web; | ||
|
||
import org.joda.time.DateTime; | ||
import java.util.List; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Class representing Abnormal Time Period identified in diagnosis. | ||
*/ | ||
public class AbnormalTimePeriod { | ||
/** | ||
* Start time of the downtime. | ||
*/ | ||
@JsonProperty(value = "startTime") | ||
private DateTime startTime; | ||
|
||
/** | ||
* End time of the downtime. | ||
*/ | ||
@JsonProperty(value = "endTime") | ||
private DateTime endTime; | ||
|
||
/** | ||
* List of Possible Cause of downtime. | ||
*/ | ||
@JsonProperty(value = "events") | ||
private List<DetectorAbnormalTimePeriod> events; | ||
|
||
/** | ||
* List of proposed solutions. | ||
*/ | ||
@JsonProperty(value = "solutions") | ||
private List<Solution> solutions; | ||
|
||
/** | ||
* Get the startTime value. | ||
* | ||
* @return the startTime value | ||
*/ | ||
public DateTime startTime() { | ||
return this.startTime; | ||
} | ||
|
||
/** | ||
* Set the startTime value. | ||
* | ||
* @param startTime the startTime value to set | ||
* @return the AbnormalTimePeriod object itself. | ||
*/ | ||
public AbnormalTimePeriod withStartTime(DateTime startTime) { | ||
this.startTime = startTime; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the endTime value. | ||
* | ||
* @return the endTime value | ||
*/ | ||
public DateTime endTime() { | ||
return this.endTime; | ||
} | ||
|
||
/** | ||
* Set the endTime value. | ||
* | ||
* @param endTime the endTime value to set | ||
* @return the AbnormalTimePeriod object itself. | ||
*/ | ||
public AbnormalTimePeriod withEndTime(DateTime endTime) { | ||
this.endTime = endTime; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the events value. | ||
* | ||
* @return the events value | ||
*/ | ||
public List<DetectorAbnormalTimePeriod> events() { | ||
return this.events; | ||
} | ||
|
||
/** | ||
* Set the events value. | ||
* | ||
* @param events the events value to set | ||
* @return the AbnormalTimePeriod object itself. | ||
*/ | ||
public AbnormalTimePeriod withEvents(List<DetectorAbnormalTimePeriod> events) { | ||
this.events = events; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the solutions value. | ||
* | ||
* @return the solutions value | ||
*/ | ||
public List<Solution> solutions() { | ||
return this.solutions; | ||
} | ||
|
||
/** | ||
* Set the solutions value. | ||
* | ||
* @param solutions the solutions value to set | ||
* @return the AbnormalTimePeriod object itself. | ||
*/ | ||
public AbnormalTimePeriod withSolutions(List<Solution> solutions) { | ||
this.solutions = solutions; | ||
return this; | ||
} | ||
|
||
} |
53 changes: 53 additions & 0 deletions
53
...e-mgmt-web/src/main/java/com/microsoft/azure/management/web/AccessControlEntryAction.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.web; | ||
|
||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.fasterxml.jackson.annotation.JsonValue; | ||
|
||
/** | ||
* Defines values for AccessControlEntryAction. | ||
*/ | ||
public enum AccessControlEntryAction { | ||
/** Enum value Permit. */ | ||
PERMIT("Permit"), | ||
|
||
/** Enum value Deny. */ | ||
DENY("Deny"); | ||
|
||
/** The actual serialized value for a AccessControlEntryAction instance. */ | ||
private String value; | ||
|
||
AccessControlEntryAction(String value) { | ||
this.value = value; | ||
} | ||
|
||
/** | ||
* Parses a serialized value to a AccessControlEntryAction instance. | ||
* | ||
* @param value the serialized value to parse. | ||
* @return the parsed AccessControlEntryAction object, or null if unable to parse. | ||
*/ | ||
@JsonCreator | ||
public static AccessControlEntryAction fromString(String value) { | ||
AccessControlEntryAction[] items = AccessControlEntryAction.values(); | ||
for (AccessControlEntryAction item : items) { | ||
if (item.toString().equalsIgnoreCase(value)) { | ||
return item; | ||
} | ||
} | ||
return null; | ||
} | ||
|
||
@JsonValue | ||
@Override | ||
public String toString() { | ||
return this.value; | ||
} | ||
} |
173 changes: 173 additions & 0 deletions
173
azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/Address.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,173 @@ | ||
/** | ||
* 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.web; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Address information for domain registration. | ||
*/ | ||
public class Address { | ||
/** | ||
* First line of an Address. | ||
*/ | ||
@JsonProperty(value = "address1", required = true) | ||
private String address1; | ||
|
||
/** | ||
* The second line of the Address. Optional. | ||
*/ | ||
@JsonProperty(value = "address2") | ||
private String address2; | ||
|
||
/** | ||
* The city for the address. | ||
*/ | ||
@JsonProperty(value = "city", required = true) | ||
private String city; | ||
|
||
/** | ||
* The country for the address. | ||
*/ | ||
@JsonProperty(value = "country", required = true) | ||
private String country; | ||
|
||
/** | ||
* The postal code for the address. | ||
*/ | ||
@JsonProperty(value = "postalCode", required = true) | ||
private String postalCode; | ||
|
||
/** | ||
* The state or province for the address. | ||
*/ | ||
@JsonProperty(value = "state", required = true) | ||
private String state; | ||
|
||
/** | ||
* Get the address1 value. | ||
* | ||
* @return the address1 value | ||
*/ | ||
public String address1() { | ||
return this.address1; | ||
} | ||
|
||
/** | ||
* Set the address1 value. | ||
* | ||
* @param address1 the address1 value to set | ||
* @return the Address object itself. | ||
*/ | ||
public Address withAddress1(String address1) { | ||
this.address1 = address1; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the address2 value. | ||
* | ||
* @return the address2 value | ||
*/ | ||
public String address2() { | ||
return this.address2; | ||
} | ||
|
||
/** | ||
* Set the address2 value. | ||
* | ||
* @param address2 the address2 value to set | ||
* @return the Address object itself. | ||
*/ | ||
public Address withAddress2(String address2) { | ||
this.address2 = address2; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the city value. | ||
* | ||
* @return the city value | ||
*/ | ||
public String city() { | ||
return this.city; | ||
} | ||
|
||
/** | ||
* Set the city value. | ||
* | ||
* @param city the city value to set | ||
* @return the Address object itself. | ||
*/ | ||
public Address withCity(String city) { | ||
this.city = city; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the country value. | ||
* | ||
* @return the country value | ||
*/ | ||
public String country() { | ||
return this.country; | ||
} | ||
|
||
/** | ||
* Set the country value. | ||
* | ||
* @param country the country value to set | ||
* @return the Address object itself. | ||
*/ | ||
public Address withCountry(String country) { | ||
this.country = country; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the postalCode value. | ||
* | ||
* @return the postalCode value | ||
*/ | ||
public String postalCode() { | ||
return this.postalCode; | ||
} | ||
|
||
/** | ||
* Set the postalCode value. | ||
* | ||
* @param postalCode the postalCode value to set | ||
* @return the Address object itself. | ||
*/ | ||
public Address withPostalCode(String postalCode) { | ||
this.postalCode = postalCode; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the state value. | ||
* | ||
* @return the state value | ||
*/ | ||
public String state() { | ||
return this.state; | ||
} | ||
|
||
/** | ||
* Set the state value. | ||
* | ||
* @param state the state value to set | ||
* @return the Address object itself. | ||
*/ | ||
public Address withState(String state) { | ||
this.state = state; | ||
return this; | ||
} | ||
|
||
} |
Oops, something went wrong.