forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR] iotcentral/resource-manager (Azure#2413)
* Generated from 1dda4e455040e612e0553c6d9503d29509cde751 (Azure#2247) Add iotcentral version 2018-09-01 * [AutoPR iotcentral/resource-manager] IoTCentral - Add ARM endpoint, update model responses/inputs to align with expected values (Azure#2431) * Generated from ddbb8ffb2dd676863a74cd5d44748fbd93a93025 Update models to align with expected responses * Generated from 09b4a4594660bc1c21dc7122a3784f64867a041e Fix build errors * Generated from 1c89739e3a40c9bf7a6f40e86367d50e6b88f776 Add required field to definitions * Generated from 2a67d7be3a9b0c1f55324bd0059ff0dc1077a4ff Remove typo * Generated from f0df5982f4b75520b1b163b84ea33c9a81d6e79b add x-ms-client-flatten to errorSchema
- Loading branch information
1 parent
1408944
commit 80b8793
Showing
11 changed files
with
564 additions
and
38 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
.../main/java/com/microsoft/azure/management/iotcentral/v2018_09_01/AppAvailabilityInfo.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,35 @@ | ||
/** | ||
* 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.iotcentral.v2018_09_01; | ||
|
||
import com.microsoft.azure.arm.model.HasInner; | ||
import com.microsoft.azure.arm.resources.models.HasManager; | ||
import com.microsoft.azure.management.iotcentral.v2018_09_01.implementation.IoTCentralManager; | ||
import com.microsoft.azure.management.iotcentral.v2018_09_01.implementation.AppAvailabilityInfoInner; | ||
|
||
/** | ||
* Type representing AppAvailabilityInfo. | ||
*/ | ||
public interface AppAvailabilityInfo extends HasInner<AppAvailabilityInfoInner>, HasManager<IoTCentralManager> { | ||
/** | ||
* @return the message value. | ||
*/ | ||
String message(); | ||
|
||
/** | ||
* @return the nameAvailable value. | ||
*/ | ||
Boolean nameAvailable(); | ||
|
||
/** | ||
* @return the reason value. | ||
*/ | ||
String reason(); | ||
|
||
} |
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
89 changes: 89 additions & 0 deletions
89
...rc/main/java/com/microsoft/azure/management/iotcentral/v2018_09_01/ErrorResponseBody.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,89 @@ | ||
/** | ||
* 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.iotcentral.v2018_09_01; | ||
|
||
import java.util.List; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Details of error response. | ||
*/ | ||
public class ErrorResponseBody { | ||
/** | ||
* The error code. | ||
*/ | ||
@JsonProperty(value = "code", access = JsonProperty.Access.WRITE_ONLY) | ||
private String code; | ||
|
||
/** | ||
* The error message. | ||
*/ | ||
@JsonProperty(value = "message", access = JsonProperty.Access.WRITE_ONLY) | ||
private String message; | ||
|
||
/** | ||
* The target of the particular error. | ||
*/ | ||
@JsonProperty(value = "target", access = JsonProperty.Access.WRITE_ONLY) | ||
private String target; | ||
|
||
/** | ||
* A list of additional details about the error. | ||
*/ | ||
@JsonProperty(value = "details") | ||
private List<ErrorResponseBody> details; | ||
|
||
/** | ||
* Get the error code. | ||
* | ||
* @return the code value | ||
*/ | ||
public String code() { | ||
return this.code; | ||
} | ||
|
||
/** | ||
* Get the error message. | ||
* | ||
* @return the message value | ||
*/ | ||
public String message() { | ||
return this.message; | ||
} | ||
|
||
/** | ||
* Get the target of the particular error. | ||
* | ||
* @return the target value | ||
*/ | ||
public String target() { | ||
return this.target; | ||
} | ||
|
||
/** | ||
* Get a list of additional details about the error. | ||
* | ||
* @return the details value | ||
*/ | ||
public List<ErrorResponseBody> details() { | ||
return this.details; | ||
} | ||
|
||
/** | ||
* Set a list of additional details about the error. | ||
* | ||
* @param details the details value to set | ||
* @return the ErrorResponseBody object itself. | ||
*/ | ||
public ErrorResponseBody withDetails(List<ErrorResponseBody> details) { | ||
this.details = details; | ||
return this; | ||
} | ||
|
||
} |
69 changes: 69 additions & 0 deletions
69
...in/java/com/microsoft/azure/management/iotcentral/v2018_09_01/NameAvailabilityInputs.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,69 @@ | ||
/** | ||
* 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.iotcentral.v2018_09_01; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Input values. | ||
*/ | ||
public class NameAvailabilityInputs { | ||
/** | ||
* The name of the IoT Central application instance to check. | ||
*/ | ||
@JsonProperty(value = "name", required = true) | ||
private String name; | ||
|
||
/** | ||
* The type of the IoT Central resource to query. | ||
*/ | ||
@JsonProperty(value = "type") | ||
private String type; | ||
|
||
/** | ||
* Get the name of the IoT Central application instance to check. | ||
* | ||
* @return the name value | ||
*/ | ||
public String name() { | ||
return this.name; | ||
} | ||
|
||
/** | ||
* Set the name of the IoT Central application instance to check. | ||
* | ||
* @param name the name value to set | ||
* @return the NameAvailabilityInputs object itself. | ||
*/ | ||
public NameAvailabilityInputs withName(String name) { | ||
this.name = name; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the type of the IoT Central resource to query. | ||
* | ||
* @return the type value | ||
*/ | ||
public String type() { | ||
return this.type; | ||
} | ||
|
||
/** | ||
* Set the type of the IoT Central resource to query. | ||
* | ||
* @param type the type value to set | ||
* @return the NameAvailabilityInputs object itself. | ||
*/ | ||
public NameAvailabilityInputs withType(String type) { | ||
this.type = type; | ||
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
69 changes: 69 additions & 0 deletions
69
...va/com/microsoft/azure/management/iotcentral/v2018_09_01/SubdomainAvailabilityInputs.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,69 @@ | ||
/** | ||
* 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.iotcentral.v2018_09_01; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Input values. | ||
*/ | ||
public class SubdomainAvailabilityInputs { | ||
/** | ||
* The subdomain of the IoT Central application instance to check. | ||
*/ | ||
@JsonProperty(value = "subdomain", required = true) | ||
private String subdomain; | ||
|
||
/** | ||
* The type of the IoT Central resource to query. | ||
*/ | ||
@JsonProperty(value = "type") | ||
private String type; | ||
|
||
/** | ||
* Get the subdomain of the IoT Central application instance to check. | ||
* | ||
* @return the subdomain value | ||
*/ | ||
public String subdomain() { | ||
return this.subdomain; | ||
} | ||
|
||
/** | ||
* Set the subdomain of the IoT Central application instance to check. | ||
* | ||
* @param subdomain the subdomain value to set | ||
* @return the SubdomainAvailabilityInputs object itself. | ||
*/ | ||
public SubdomainAvailabilityInputs withSubdomain(String subdomain) { | ||
this.subdomain = subdomain; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the type of the IoT Central resource to query. | ||
* | ||
* @return the type value | ||
*/ | ||
public String type() { | ||
return this.type; | ||
} | ||
|
||
/** | ||
* Set the type of the IoT Central resource to query. | ||
* | ||
* @param type the type value to set | ||
* @return the SubdomainAvailabilityInputs object itself. | ||
*/ | ||
public SubdomainAvailabilityInputs withType(String type) { | ||
this.type = type; | ||
return this; | ||
} | ||
|
||
} |
Oops, something went wrong.