/** * 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.appservice.implementation; import com.microsoft.azure.management.appservice.PerfMonSet; import com.fasterxml.jackson.annotation.JsonProperty; /** * Performance monitor API response. */ public class PerfMonResponseInner { /** * The response code. */ @JsonProperty(value = "code") private String code; /** * The message. */ @JsonProperty(value = "message") private String message; /** * The performance monitor counters. */ @JsonProperty(value = "data") private PerfMonSet data; /** * Get the code value. * * @return the code value */ public String code() { return this.code; } /** * Set the code value. * * @param code the code value to set * @return the PerfMonResponseInner object itself. */ public PerfMonResponseInner withCode(String code) { this.code = code; return this; } /** * Get the message value. * * @return the message value */ public String message() { return this.message; } /** * Set the message value. * * @param message the message value to set * @return the PerfMonResponseInner object itself. */ public PerfMonResponseInner withMessage(String message) { this.message = message; return this; } /** * Get the data value. * * @return the data value */ public PerfMonSet data() { return this.data; } /** * Set the data value. * * @param data the data value to set * @return the PerfMonResponseInner object itself. */ public PerfMonResponseInner withData(PerfMonSet data) { this.data = data; return this; } }