Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR web/resource-manager] Adding Detector Endpoints for Web Apps and App Service Environments #23

Merged
merged 7 commits into from
Apr 17, 2018
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.web;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Column definition.
*/
public class DataTableResponseColumn {
/**
* Name of the column.
*/
@JsonProperty(value = "columnName")
private String columnName;

/**
* Data type which looks like 'String' or 'Int32'.
*/
@JsonProperty(value = "dataType")
private String dataType;

/**
* Column Type.
*/
@JsonProperty(value = "columnType")
private String columnType;

/**
* Get the columnName value.
*
* @return the columnName value
*/
public String columnName() {
return this.columnName;
}

/**
* Set the columnName value.
*
* @param columnName the columnName value to set
* @return the DataTableResponseColumn object itself.
*/
public DataTableResponseColumn withColumnName(String columnName) {
this.columnName = columnName;
return this;
}

/**
* Get the dataType value.
*
* @return the dataType value
*/
public String dataType() {
return this.dataType;
}

/**
* Set the dataType value.
*
* @param dataType the dataType value to set
* @return the DataTableResponseColumn object itself.
*/
public DataTableResponseColumn withDataType(String dataType) {
this.dataType = dataType;
return this;
}

/**
* Get the columnType value.
*
* @return the columnType value
*/
public String columnType() {
return this.columnType;
}

/**
* Set the columnType value.
*
* @param columnType the columnType value to set
* @return the DataTableResponseColumn object itself.
*/
public DataTableResponseColumn withColumnType(String columnType) {
this.columnType = columnType;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
/**
* 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 java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Data Table which defines columns and raw row values.
*/
public class DataTableResponseObject {
/**
* Name of the table.
*/
@JsonProperty(value = "tableName")
private String tableName;

/**
* List of columns with data types.
*/
@JsonProperty(value = "columns")
private List<DataTableResponseColumn> columns;

/**
* Raw row values.
*/
@JsonProperty(value = "rows")
private List<List<String>> rows;

/**
* Get the tableName value.
*
* @return the tableName value
*/
public String tableName() {
return this.tableName;
}

/**
* Set the tableName value.
*
* @param tableName the tableName value to set
* @return the DataTableResponseObject object itself.
*/
public DataTableResponseObject withTableName(String tableName) {
this.tableName = tableName;
return this;
}

/**
* Get the columns value.
*
* @return the columns value
*/
public List<DataTableResponseColumn> columns() {
return this.columns;
}

/**
* Set the columns value.
*
* @param columns the columns value to set
* @return the DataTableResponseObject object itself.
*/
public DataTableResponseObject withColumns(List<DataTableResponseColumn> columns) {
this.columns = columns;
return this;
}

/**
* Get the rows value.
*
* @return the rows value
*/
public List<List<String>> rows() {
return this.rows;
}

/**
* Set the rows value.
*
* @param rows the rows value to set
* @return the DataTableResponseObject object itself.
*/
public DataTableResponseObject withRows(List<List<String>> rows) {
this.rows = rows;
return this;
}

}
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.web;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Definition of Detector.
*/
public class DetectorInfo {
/**
* Short description of the detector and its purpose.
*/
@JsonProperty(value = "description", access = JsonProperty.Access.WRITE_ONLY)
private String description;

/**
* Support Category.
*/
@JsonProperty(value = "category", access = JsonProperty.Access.WRITE_ONLY)
private String category;

/**
* Support Sub Category.
*/
@JsonProperty(value = "subCategory", access = JsonProperty.Access.WRITE_ONLY)
private String subCategory;

/**
* Support Topic Id.
*/
@JsonProperty(value = "supportTopicId", access = JsonProperty.Access.WRITE_ONLY)
private String supportTopicId;

/**
* Get the description value.
*
* @return the description value
*/
public String description() {
return this.description;
}

/**
* Get the category value.
*
* @return the category value
*/
public String category() {
return this.category;
}

/**
* Get the subCategory value.
*
* @return the subCategory value
*/
public String subCategory() {
return this.subCategory;
}

/**
* Get the supportTopicId value.
*
* @return the supportTopicId value
*/
public String supportTopicId() {
return this.supportTopicId;
}

}
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.web;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Set of data with rendering instructions.
*/
public class DiagnosticData {
/**
* Data in table form.
*/
@JsonProperty(value = "table")
private DataTableResponseObject table;

/**
* Properties that describe how the table should be rendered.
*/
@JsonProperty(value = "renderingProperties")
private Rendering renderingProperties;

/**
* Get the table value.
*
* @return the table value
*/
public DataTableResponseObject table() {
return this.table;
}

/**
* Set the table value.
*
* @param table the table value to set
* @return the DiagnosticData object itself.
*/
public DiagnosticData withTable(DataTableResponseObject table) {
this.table = table;
return this;
}

/**
* Get the renderingProperties value.
*
* @return the renderingProperties value
*/
public Rendering renderingProperties() {
return this.renderingProperties;
}

/**
* Set the renderingProperties value.
*
* @param renderingProperties the renderingProperties value to set
* @return the DiagnosticData object itself.
*/
public DiagnosticData withRenderingProperties(Rendering renderingProperties) {
this.renderingProperties = renderingProperties;
return this;
}

}
Loading