Skip to content

Commit

Permalink
[AutoPR network/resource-manager] Network Watcher: Suppressing a vali…
Browse files Browse the repository at this point in the history
…dation message (#112)

* Generated from 857a54b5f417a5d53c2715d3d852e99e159d4fec

Network watcher: Fixed property name in ConnectivityCheckRequest: HTTPConfiguration -> httpConfiguration

* Generated from 51b3f3e34c0cc3a9afa0477cba19f434ab443124

Fixed message in warning supression
  • Loading branch information
AutorestCI authored Apr 25, 2018
1 parent 11de7d9 commit 0346118
Showing 1 changed file with 96 additions and 0 deletions.
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.network;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* HTTP configuration of the connectivity check.
*/
public class HttpConfiguration {
/**
* HTTP method. Possible values include: 'Get'.
*/
@JsonProperty(value = "method")
private HTTPMethod method;

/**
* List of HTTP headers.
*/
@JsonProperty(value = "headers")
private List<HTTPHeader> headers;

/**
* Valid status codes.
*/
@JsonProperty(value = "validStatusCodes")
private List<Integer> validStatusCodes;

/**
* Get the method value.
*
* @return the method value
*/
public HTTPMethod method() {
return this.method;
}

/**
* Set the method value.
*
* @param method the method value to set
* @return the HttpConfiguration object itself.
*/
public HttpConfiguration withMethod(HTTPMethod method) {
this.method = method;
return this;
}

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

/**
* Set the headers value.
*
* @param headers the headers value to set
* @return the HttpConfiguration object itself.
*/
public HttpConfiguration withHeaders(List<HTTPHeader> headers) {
this.headers = headers;
return this;
}

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

/**
* Set the validStatusCodes value.
*
* @param validStatusCodes the validStatusCodes value to set
* @return the HttpConfiguration object itself.
*/
public HttpConfiguration withValidStatusCodes(List<Integer> validStatusCodes) {
this.validStatusCodes = validStatusCodes;
return this;
}

}

0 comments on commit 0346118

Please sign in to comment.