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

package com.azure.analytics.synapse.accesscontrol.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** Role Assignment response details. */
@Fluent
public final class RoleAssignmentDetailsList {
    /*
     * Number of role assignments
     */
    @JsonProperty(value = "count")
    private Integer count;

    /*
     * A list of role assignments
     */
    @JsonProperty(value = "value")
    private List<RoleAssignmentDetails> value;

    /**
     * Get the count property: Number of role assignments.
     *
     * @return the count value.
     */
    public Integer getCount() {
        return this.count;
    }

    /**
     * Set the count property: Number of role assignments.
     *
     * @param count the count value to set.
     * @return the RoleAssignmentDetailsList object itself.
     */
    public RoleAssignmentDetailsList setCount(Integer count) {
        this.count = count;
        return this;
    }

    /**
     * Get the value property: A list of role assignments.
     *
     * @return the value value.
     */
    public List<RoleAssignmentDetails> getValue() {
        return this.value;
    }

    /**
     * Set the value property: A list of role assignments.
     *
     * @param value the value value to set.
     * @return the RoleAssignmentDetailsList object itself.
     */
    public RoleAssignmentDetailsList setValue(List<RoleAssignmentDetails> value) {
        this.value = value;
        return this;
    }
}
