All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.databricks.sdk.service.iam.PermissionAssignments Maven / Gradle / Ivy

There is a newer version: 0.38.0
Show newest version
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.

package com.databricks.sdk.service.iam;

import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Collection;
import java.util.Objects;

@Generated
public class PermissionAssignments {
  /** Array of permissions assignments defined for a workspace. */
  @JsonProperty("permission_assignments")
  private Collection permissionAssignments;

  public PermissionAssignments setPermissionAssignments(
      Collection permissionAssignments) {
    this.permissionAssignments = permissionAssignments;
    return this;
  }

  public Collection getPermissionAssignments() {
    return permissionAssignments;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    PermissionAssignments that = (PermissionAssignments) o;
    return Objects.equals(permissionAssignments, that.permissionAssignments);
  }

  @Override
  public int hashCode() {
    return Objects.hash(permissionAssignments);
  }

  @Override
  public String toString() {
    return new ToStringer(PermissionAssignments.class)
        .add("permissionAssignments", permissionAssignments)
        .toString();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy