func (role *Role) NewUpdateParams() *RoleUpdateParams {
	return &RoleUpdateParams{
		Name:        role.Name,
		Description: ptr.PStr(role.Description),
		Permissions: role.Permissions,
	}
}
// NewUpdateParams returns Update Role API's parameters.
NewUpdateParams returns Update Role API's parameters.
// NewUpdateParams returns Update Role API ' s parameters .
func (role *Role) NewUpdateParams() *RoleUpdateParams {
	return &RoleUpdateParams{
		Name:        role.Name,
		Description: ptr.PStr(role.Description),
		Permissions: role.Permissions,
	}
}
func ( role * Role ) NewUpdateParams ( ) * RoleUpdateParams { return & RoleUpdateParams { Name : role . Name , Description : ptr . PStr ( role . Description ) , Permissions : role . Permissions , } }
NewUpdateParams returns Update Role API's parameters.
NewUpdateParams returns Update Role API ' s parameters .