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

package com.azure.resourcemanager.apimanagement.fluent.models;

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

/** Recipient User Contract Properties. */
@Fluent
public final class RecipientUsersContractProperties {
    /*
     * API Management UserId subscribed to notification.
     */
    @JsonProperty(value = "userId")
    private String userId;

    /**
     * Get the userId property: API Management UserId subscribed to notification.
     *
     * @return the userId value.
     */
    public String userId() {
        return this.userId;
    }

    /**
     * Set the userId property: API Management UserId subscribed to notification.
     *
     * @param userId the userId value to set.
     * @return the RecipientUsersContractProperties object itself.
     */
    public RecipientUsersContractProperties withUserId(String userId) {
        this.userId = userId;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
