All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.terremark.api.CreateHttpMonitor Maven / Gradle / Ivy

The newest version!
/**
 * Copyright 2012 Terremark Worldwide Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.terremark.api;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlType;

/**
 * 

* Java class for CreateHttpMonitor complex type. *

* The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="CreateHttpMonitor">
 *   <complexContent>
 *     <extension base="{}CreateInternetServiceMonitorRequest">
 *       <sequence>
 *         <element name="RequestUri" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="HttpHeaders" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="ResponseCodes" type="{}HttpMonitorResponseCodes" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CreateHttpMonitor", propOrder = {"requestUri", "httpHeaders", "responseCodes"}) @javax.xml.bind.annotation.XmlRootElement(name = "CreateHttpMonitor") public final class CreateHttpMonitor extends CreateInternetServiceMonitorRequest { @XmlElement(name = "RequestUri", nillable = true) protected String requestUri; @XmlElement(name = "HttpHeaders", nillable = true) protected String httpHeaders; @XmlElementWrapper(name = "ResponseCodes") @XmlElement(name = "ResponseCode") protected List responseCodes; /** * Gets the value of the requestUri property. * * @return possible object is {@link String } */ public String getRequestUri() { return requestUri; } /** * Sets the value of the requestUri property. * * @param value allowed object is {@link String } */ public void setRequestUri(final String value) { this.requestUri = value; } /** * Gets the value of the httpHeaders property. * * @return possible object is {@link String } */ public String getHttpHeaders() { return httpHeaders; } /** * Sets the value of the httpHeaders property. * * @param value allowed object is {@link String } */ public void setHttpHeaders(final String value) { this.httpHeaders = value; } public List getResponseCodes() { if (responseCodes == null) { responseCodes = new ArrayList(); } return responseCodes; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy