// 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.administration.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlText;

/** The Title model. */
@JacksonXmlRootElement(localName = "title", namespace = "http://www.w3.org/2005/Atom")
@Fluent
public final class TitleImpl {

    /*
     * The type of the title.
     */
    @JacksonXmlProperty(localName = "type", isAttribute = true)
    private String type;

    /*
     * The title.
     */
    @JacksonXmlText private String content;

    /** Creates an instance of Title class. */
    public TitleImpl() {}

    /**
     * Get the type property: The type of the title.
     *
     * @return the type value.
     */
    public String getType() {
        return this.type;
    }

    /**
     * Set the type property: The type of the title.
     *
     * @param type the type value to set.
     * @return the Title object itself.
     */
    public TitleImpl setType(String type) {
        this.type = type;
        return this;
    }

    /**
     * Get the content property: The title.
     *
     * @return the content value.
     */
    public String getContent() {
        return this.content;
    }

    /**
     * Set the content property: The title.
     *
     * @param content the content value to set.
     * @return the Title object itself.
     */
    public TitleImpl setContent(String content) {
        this.content = content;
        return this;
    }
}
