SchemasRegisterHeaders.java

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.data.schemaregistry.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The SchemasRegisterHeaders model. */
@Fluent
public final class SchemasRegisterHeaders {
    /*
     * The Schema-Version property.
     */
    @JsonProperty(value = "Schema-Version")
    private Integer schemaVersion;

    /*
     * The Schema-Id property.
     */
    @JsonProperty(value = "Schema-Id")
    private String schemaId;

    /*
     * The Schema-Group-Name property.
     */
    @JsonProperty(value = "Schema-Group-Name")
    private String schemaGroupName;

    /*
     * The Schema-Name property.
     */
    @JsonProperty(value = "Schema-Name")
    private String schemaName;

    /*
     * The Schema-Id-Location property.
     */
    @JsonProperty(value = "Schema-Id-Location")
    private String schemaIdLocation;

    /*
     * The Location property.
     */
    @JsonProperty(value = "Location")
    private String location;

    /**
     * Get the schemaVersion property: The Schema-Version property.
     *
     * @return the schemaVersion value.
     */
    public Integer getSchemaVersion() {
        return this.schemaVersion;
    }

    /**
     * Set the schemaVersion property: The Schema-Version property.
     *
     * @param schemaVersion the schemaVersion value to set.
     * @return the SchemasRegisterHeaders object itself.
     */
    public SchemasRegisterHeaders setSchemaVersion(Integer schemaVersion) {
        this.schemaVersion = schemaVersion;
        return this;
    }

    /**
     * Get the schemaId property: The Schema-Id property.
     *
     * @return the schemaId value.
     */
    public String getSchemaId() {
        return this.schemaId;
    }

    /**
     * Set the schemaId property: The Schema-Id property.
     *
     * @param schemaId the schemaId value to set.
     * @return the SchemasRegisterHeaders object itself.
     */
    public SchemasRegisterHeaders setSchemaId(String schemaId) {
        this.schemaId = schemaId;
        return this;
    }

    /**
     * Get the schemaGroupName property: The Schema-Group-Name property.
     *
     * @return the schemaGroupName value.
     */
    public String getSchemaGroupName() {
        return this.schemaGroupName;
    }

    /**
     * Set the schemaGroupName property: The Schema-Group-Name property.
     *
     * @param schemaGroupName the schemaGroupName value to set.
     * @return the SchemasRegisterHeaders object itself.
     */
    public SchemasRegisterHeaders setSchemaGroupName(String schemaGroupName) {
        this.schemaGroupName = schemaGroupName;
        return this;
    }

    /**
     * Get the schemaName property: The Schema-Name property.
     *
     * @return the schemaName value.
     */
    public String getSchemaName() {
        return this.schemaName;
    }

    /**
     * Set the schemaName property: The Schema-Name property.
     *
     * @param schemaName the schemaName value to set.
     * @return the SchemasRegisterHeaders object itself.
     */
    public SchemasRegisterHeaders setSchemaName(String schemaName) {
        this.schemaName = schemaName;
        return this;
    }

    /**
     * Get the schemaIdLocation property: The Schema-Id-Location property.
     *
     * @return the schemaIdLocation value.
     */
    public String getSchemaIdLocation() {
        return this.schemaIdLocation;
    }

    /**
     * Set the schemaIdLocation property: The Schema-Id-Location property.
     *
     * @param schemaIdLocation the schemaIdLocation value to set.
     * @return the SchemasRegisterHeaders object itself.
     */
    public SchemasRegisterHeaders setSchemaIdLocation(String schemaIdLocation) {
        this.schemaIdLocation = schemaIdLocation;
        return this;
    }

    /**
     * Get the location property: The Location property.
     *
     * @return the location value.
     */
    public String getLocation() {
        return this.location;
    }

    /**
     * Set the location property: The Location property.
     *
     * @param location the location value to set.
     * @return the SchemasRegisterHeaders object itself.
     */
    public SchemasRegisterHeaders setLocation(String location) {
        this.location = location;
        return this;
    }
}