Package io.unitycatalog.client.model
Class PermissionsChange
java.lang.Object
io.unitycatalog.client.model.PermissionsChange
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.5.0")
public class PermissionsChange
extends Object
PermissionsChange
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAddItem(Privilege addItem) addRemoveItem(Privilege removeItem) booleanReturn true if this PermissionsChange object is equal to o.getAdd()The set of privileges to add.The principal whose privileges we are changing.The set of privileges to remove.inthashCode()voidvoidsetPrincipal(String principal) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_PRINCIPAL
- See Also:
-
JSON_PROPERTY_ADD
- See Also:
-
JSON_PROPERTY_REMOVE
- See Also:
-
-
Constructor Details
-
PermissionsChange
public PermissionsChange()
-
-
Method Details
-
principal
-
getPrincipal
The principal whose privileges we are changing.- Returns:
- principal
-
setPrincipal
-
add
-
addAddItem
-
getAdd
The set of privileges to add.- Returns:
- add
-
setAdd
-
remove
-
addRemoveItem
-
getRemove
The set of privileges to remove.- Returns:
- remove
-
setRemove
-
equals
Return true if this PermissionsChange object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-