QueueDescriptionResponseContent.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.messaging.servicebus.implementation.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
/** The QueueDescriptionResponseContent model. */
@JacksonXmlRootElement(localName = "QueueDescriptionResponseContent")
@Fluent
public final class QueueDescriptionResponseContent {
/*
* Type of content in queue response
*/
@JacksonXmlProperty(localName = "type", isAttribute = true)
private String type;
/*
* Description of a Service Bus queue resource.
*/
@JacksonXmlProperty(
localName = "QueueDescription",
namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")
private QueueDescription queueProperties;
/**
* Get the type property: Type of content in queue response.
*
* @return the type value.
*/
public String getType() {
return this.type;
}
/**
* Set the type property: Type of content in queue response.
*
* @param type the type value to set.
* @return the QueueDescriptionResponseContent object itself.
*/
public QueueDescriptionResponseContent setType(String type) {
this.type = type;
return this;
}
/**
* Get the queueDescription property: Description of a Service Bus queue resource.
*
* @return the queueDescription value.
*/
public QueueDescription getQueueDescription() {
return this.queueProperties;
}
/**
* Set the queueDescription property: Description of a Service Bus queue resource.
*
* @param queueProperties the queueDescription value to set.
* @return the QueueDescriptionResponseContent object itself.
*/
public QueueDescriptionResponseContent setQueueDescription(QueueDescription queueProperties) {
this.queueProperties = queueProperties;
return this;
}
}